Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The system will not boot. It tries to come up it goes immediately to grub-rescue. Trying to rescue the system from the DVD. I have tried.
- 1. booting from the DVD
- 2. mkdir /hdroot
- 3. mount /dev/md/hdroot /hdroot
- 4. mount --bind /dev /hdroot/dev
- 5. mount --bind /sys /hdroot/sys
- 6. mount --bind /proc /hdroot/proc
- 7. mount --bind /run /hdroot/run # done it with and without this one
- 8. chroot /hdroot
- 9. mount /boot
- 10. grub2-mkconfig -o /boot/grub2/grub.cfg
- 11. grub2-install /dev/sda
- 12. grub2-install --force /dev/sda1
- 13. grub2-install --force /dev/sda2
- 14. mkinitrd
- grub-rescue >
- I then boot from DVD using boot linux system or what ever the title is.
- I choose the boot and initrd, then choose the root device /dev/md/hdroot
- The system comes up normally.
- # qemu-kvm -hda /dev/sda -boot c -m 256 -net none # shows boot menu and then boots.
- /dev/sda1 BIOS Grub
- /dev/sda2 Linux EXT4
- /dev/sda3 Swap Swapo
- /dev/sda4 NTFS NTFS
- /dev/sda5 Linux EXT4
- /dev/sda6 Linux XFS
- # fdisk -l
- Disk /dev/sda: 4.6 TiB, 5000981077504 bytes, 9767541167 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 4096 bytes
- I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
- Disklabel type: gpt
- Disk identifier: 5109FB32-B869-4FEF-96F3-366953FFC77A
- Device Start End Sectors Size Type
- /dev/sda1 2048 16382 14335 7M BIOS boot
- /dev/sda2 16384 2119678 2103295 1G Microsoft basic data
- /dev/sda3 2162655 23068319 20905665 10G Microsoft basic data
- /dev/sda4 23068320 1071628319 1048560000 500G Microsoft basic data
- /dev/sda5 1071628320 2124710234 1053081915 502.2G Microsoft basic data
- /dev/sda6 2124710235 9767533004 7642822770 3.6T Microsoft basic data
- Partition 3 does not start on physical sector boundary.
- Partition 6 does not start on physical sector boundary.
- Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x0001c513
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sdb2 915456 11405311 10489856 5G fd Linux raid autodetect
- /dev/sdb3 * 11405312 430831615 419426304 200G fd Linux raid autodetect
- /dev/sdb4 430831616 1951170559 1520338944 725G f W95 Ext'd (LBA)
- /dev/sdb5 430833664 1951141887 1520308224 725G fd Linux raid autodetect
- Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x0001c513
- Device Boot Start End Sectors Size Id Type
- /dev/sdd1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sdd2 915456 11405311 10489856 5G fd Linux raid autodetect
- /dev/sdd3 * 11405312 430831615 419426304 200G fd Linux raid autodetect
- /dev/sdd4 430831616 1951170559 1520338944 725G f W95 Ext'd (LBA)
- /dev/sdd5 430833664 1951141887 1520308224 725G fd Linux raid autodetect
- Disk /dev/sdf: 465.8 GiB, 500107862016 bytes, 976773168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x00041910
- Device Boot Start End Sectors Size Id Type
- /dev/sdf1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sdf2 915456 9302015 8386560 4G fd Linux raid autodetect
- /dev/sdf3 9302016 323870719 314568704 150G fd Linux raid autodetect
- /dev/sdf4 323870720 976773119 652902400 311.3G f W95 Ext'd (LBA)
- /dev/sdf5 323872768 976752639 652879872 311.3G fd Linux raid autodetect
- Disk /dev/sdg: 465.8 GiB, 500107862016 bytes, 976773168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x00041910
- Device Boot Start End Sectors Size Id Type
- /dev/sdg1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sdg2 915456 9302015 8386560 4G fd Linux raid autodetect
- /dev/sdg3 9302016 323870719 314568704 150G fd Linux raid autodetect
- /dev/sdg4 323870720 976773119 652902400 311.3G f W95 Ext'd (LBA)
- /dev/sdg5 323872768 976752639 652879872 311.3G fd Linux raid autodetect
- Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x0001c513
- Device Boot Start End Sectors Size Id Type
- /dev/sdc1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sdc2 915456 11405311 10489856 5G fd Linux raid autodetect
- /dev/sdc3 * 11405312 430831615 419426304 200G fd Linux raid autodetect
- /dev/sdc4 430831616 1951170559 1520338944 725G f W95 Ext'd (LBA)
- /dev/sdc5 430833664 1951141887 1520308224 725G fd Linux raid autodetect
- Disk /dev/sde: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x0001c513
- Device Boot Start End Sectors Size Id Type
- /dev/sde1 2048 915455 913408 446M fd Linux raid autodetect
- /dev/sde2 915456 11405311 10489856 5G fd Linux raid autodetect
- /dev/sde3 * 11405312 430831615 419426304 200G fd Linux raid autodetect
- /dev/sde4 430831616 1951170559 1520338944 725G f W95 Ext'd (LBA)
- /dev/sde5 430833664 1951141887 1520308224 725G fd Linux raid autodetect
- Disk /dev/md127: 150 GiB, 161059045376 bytes, 314568448 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/md126: 311.3 GiB, 334274297856 bytes, 652879488 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/md125: 4 GiB, 4293853184 bytes, 8386432 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/md124: 446 MiB, 467599360 bytes, 913280 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk /dev/md123: 1.4 TiB, 1556795293696 bytes, 3040615808 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 32768 bytes / 65536 bytes
- Disk /dev/md122: 10 GiB, 10741547008 bytes, 20979584 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 32768 bytes / 65536 bytes
- Disk /dev/md121: 892 MiB, 935264256 bytes, 1826688 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 32768 bytes / 65536 bytes
- Disk /dev/md120: 400 GiB, 429492338688 bytes, 838852224 sectors
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 32768 bytes / 65536 bytes
Add Comment
Please, Sign In to add comment