Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Mar. 28 2008,10:05 |
|
I'm thinking that this should be possible with grub, I've tried grub-0.95, 0.97, 1.91 and legacy (so far I cannot compile grub2) and all seem to be unable to find the boot partition.
I created the grub boot floppy like this:Code Sample | $ cd /opt/grub/lib/grub/i386-pc $ sudo dd if=stage1 of=/dev/fd0 bs=512 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.612537 seconds (836 bytes/sec) $ sudo dd if=stage2 of=/dev/fd0 bs=512 seek=1 203+1 records in 203+1 records out 104082 bytes transferred in 3.849574 seconds (27037 bytes/sec) | NB: I could not read the resulting floppy, but it boots
My lilo conf looks like this:Quote | lba32 #enable large disk support timeout=30 #wait 3 seconds before auto-booting vga=791 boot=/dev/sdb3 #put Lilo boot loader in partition of target disk root=/dev/sdb3 #set root to be partition of target disk image=/boot/linux24 label=DSL initrd=/boot/minirt24.gz read-only APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce nodma quiet frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX fromhd=/dev/sdb3 restore=sdb4 toram alsa syslog mydsl=sdb4" |
At the grub boot prompt, I tried this:Code Sample | > root (hd1,2) error 22: no such partition > rootnoverify hd(1,2) > kernel /boot/linux24 root=/dev/sdb3 error 22: no such partition |
- am I making a mistake somewhere?
|