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

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$248.00
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge R640 10SFF 2x Gold 6140 2.3GHz 36-Cores 64gb H730p 2x Trays
$599.99
Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00