LILO problems - please help me!
Hey,
Please help me! I'm installing gentoo on a laptop and I'm having real problems. Everything has gone well until the LILO setup. When I formatted the hard drive to make it ready for the install (it was previously a windows install and partitioned with partition magic) the partition table looked like: Device Boot Start End Blocks Id System /dev/ide/host0/bus1/target0/lun0/part1 * 1 5 40131 83 Linux /dev/ide/host0/bus1/target0/lun0/part2 6 42 297202+ 82 Linux swap /dev/ide/host0/bus1/target0/lun0/part3 43 1502 11727450 83 Linux /dev/ide/host0/bus1/target0/lun0/part4 1503 2432 7470225 7 HPFS/NTFS Now, I'm setting up lilo. First I tried my lilo.conf like this: boot=/dev/ide/host0/bus1/target0/lun0/part1 prompt timeout=50 default=gentoo vga=788 image=/boot/kernel-2.6.4 label=gentoo read-only root=/dev/ide/host0/bus1/target0/lun0/part3 append="hdc=ide-scsi" And got the error: Fatal: raid_setup: stat("/dev/ide/host0/bus1/target0/lun0/part1") Then I tried: boot=/dev/hda prompt timeout=50 default=gentoo vga=788 image=/boot/kernel-2.6.4 label=gentoo read-only root=/dev/hda3 append="hdc=ide-scsi" And got the error: Fatal: open /dev/hda: Read-only file system If I do fdisk: " livecd linux # fdisk -l livecd linux # " it tells me that I don't have anything!! This isn't too surprising I guess, considering that the installation is not yet finished. What can I do to sort this out? I need to find out what hard drive the installation is on. I have never installed on a lappy before. I just assumed that the hard drive would be /dev/hda, but it seems not to be. Please help, this is really frustrating!! thanks Hamish |
I'm guessing the cd is hda ( the read-only), and the hd is hdc (the bus1 instead of bus0)... you can try 'boot=/dev/hdc'.
|
hey.
yeah, I have just done that! Now the only errors I get are: livecd linux # lilo Warning: '/proc/partitions' does not match '/dev' directory structure. Name change: '/dev/ide/host0/bus1/target0/lun0/disc' -> '/dev/hdc' The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted as a kernel command-line boot parameter; hence, the '/dev' directory structure does not reflect DEVFS_FS device names. Added gentoo * Is this a major problem? Hamish |
Fixed!
The problem was that, while I had changed the root= to /dev/hdc3, I had left append="hdc=scsi-ide". This meant that linux thought that my HD was scsi emulation. This was fixed by correcting it to append="hda=ide-sci" Hamish |
All times are GMT -5. The time now is 05:47 PM. |