Weird boot problems.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a problem with an old rack unit I use in a cluster. We had a problem
with the HD and had to change it and reinstall. It was done by someone  new to
the job (I am locked and doing everything remotely) and he had a problem with
the configuration as it seems that this unit HD HAS to be configured as RAID
and F33 didn't see it at first.

 I am not sure what he did try, only thing he said is that it stopped at boot
and he had to comment a line in fstab, but the result is that the unit starts
in weird way.

The situation is this (skipping some lines):
# lsblk
NAME                   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                      8:0    0 931.5G  0 disk
└─sda2                   8:2    0 930.5G  0 part
  ├─fedora_node06-root 253:0    0    50G  0 lvm  /
  ├─fedora_node06-swap 253:1    0     4G  0 lvm  [SWAP]
  └─fedora_node06-home 253:2    0 876.5G  0 lvm  /home

#fdisk -l /dev/sda
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x6ccdd7fd
Device     Boot   Start        End    Sectors   Size Id Type
/dev/sda1  *       2048    2099199    2097152     1G 83 Linux
/dev/sda2       2099200 1953523711 1951424512 930.5G 8e Linux LVM

#ls -l /dev/sd*
brw-rw----. 1 root disk 8, 0 Feb  2 01:00 /dev/sda
brw-rw----. 1 root disk 8, 2 Feb  2 01:00 /dev/sda2

# cat /etc/fstab

/dev/mapper/fedora_node06-root             /      xfs     defaults        0 0
#UUID=f365a320-f3d7-4c07-8bfb-f0164b9ce8c0 /boot  xfs     defaults        0 0
/dev/mapper/fedora_node06-home /home              xfs     defaults        0 0
/dev/mapper/fedora_node06-swap none               swap    defaults        0 0

# ls -l /boot
total 0


So as I understand it sda1 is bootable and contains the kernel, linux start from
there and then finds (how?) and mounts / and /home but not /boot which is
empty. I would have changed the line in fstab with /dev/sda1 but it doesn't
exist (!).

dmesg has this:

[    4.369576] sd 3:0:0:0: Attached scsi generic sg1 type 0
[    4.384096]  sda: sda1 sda2

so it is there and seen but why the block device is not created?
Copying the content of (sda1)boot into /boot and reinstalling grub could
probably work but how?

Any advice?

Thanks,

GiP
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux