add the option 'fromhd=/dev/sda1'I need to tell grub about the location of /boot which is /dev/sda1, not sure how this is done from a Knoppix boot.
see /cdrom/knoppix/cheatcodes.txt for all the codes.
Hi All,
Have a test box that I'm trying to recover. RHEL 4 with 4 SCSI drives.
/dev/sda1 is the /boot
/dev/sda2 is swap
/dev/sda3 is part of the software raid
The other drives contain swap and software raid partitions.
Software raid is /dev/md0
In my test I'm failing sda3 with mdadm, as if I have lost the whole drive and then booting in with Knoppix to save the dayNext I rebuild the partitions, format the /dev/sda1 and copy the /boot info back to /dev/sda1 from backup copy I have on CD. Next I want to redo the MBR on /dev/sda, this is where I'm getting stuck on grub syntax.
I need to tell grub about the location of /boot which is /dev/sda1, not sure how this is done from a Knoppix boot.
Any Ideas Welcome!
Joe
add the option 'fromhd=/dev/sda1'I need to tell grub about the location of /boot which is /dev/sda1, not sure how this is done from a Knoppix boot.
see /cdrom/knoppix/cheatcodes.txt for all the codes.
Ok, not sure what thats supposed to do. /dev/sda1 is my /boot directory, does this use the info in the /boot?
knoppix fromhd=/dev/sda1 Boot from previously copied CD-Image
Originally Posted by Zrebel
Sorry, just use the install scripts that come with the distro, 'knoppix-installer' as root.
The very last thing I would consider doing if I was trying to recover a system would be run the Knoppix installer.Originally Posted by Zrebel
I cannot 'chroot' because the / (root) partition is part of /dev/md0 (raid 5). I can mount the /dev/sda1 which contains /boot .
I'm running this test on RHEL 4 32 bit and I have made a boot disk with mkbootdisk command, using the boot disk you can run grub and get everything back to normal on the new /dev/sda/ disk. But the real server is RHEL 4 64 bit and the mkbootdisk command is not available So trying to recover some other way on the test box without a RHEL 4 boot disk.
When I first started this little test I made a copy of the MBR, I've been trying to re-install the MBR with:
dd if=MBRbackup.bin of=/dev/sda bs=512 count=1
It runs fine, but GRUB does not boot the system. I get the "Error 15"
I don't know, just seems to be little gotchas no matter which way I go.
Thanks,
Joe
Yea were not going to do that
Originally Posted by Harry Kuhman

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00
Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50
Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99
Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40
HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99
Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94
Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC
$27.99
HPE 10/25G SFP28 2P MCX562A-ACAI OCP3 NIC Network Adapter 2 Port 10GbE 25GbE 25G
$485.00
Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99