Hmmm- does LILO do that to anybody else? How odd that it wrote a file w/ an uncommented line.
Printable View
Hmmm- does LILO do that to anybody else? How odd that it wrote a file w/ an uncommented line.
No I've never seen that it seemed kinda strange here too.Quote:
Originally Posted by rickenbacherus
The lilo problem happened to me when I installed Knoppix on to the hard drive too.
In my case, hda was WinXP, hdb I wanted to be linux.
I think the hd-install script had problems writing onto hda, since it was read only.
I ended up getting everything worked out by somehow switching between the Knoppix install (which configured X-window correctly and not lilo) and the Debian install CD (which I could not get to configure X-window correctly, but did configure lilo correctly...).
I think it worked by first installing Debian, then running Knoppix off the CD, doing the hd install script, but not having it mess with lilo...
--It does that by *default* from the CD until you edit it. Altho when you do the knx-hdinstall, the script edits the file for you and throws it out to your new root dir.
--Basically the lilo.conf on the cd is quite useless unless you know what you're doing with lilo. When redoing lilo from CD boot on a broken hdinstall, I always have to edit lilo.conf on the HD and put in where *my* /etc/ is mounted:
--You can see how that would get confusing, especially if you don't remember to backout the changes for CD-land and try that from HD-land. ;-)Code:# From knoppix cd xxx
#map=/mnt/hdb1/boot/map
map=/boot/map
image=/boot/vmlinuz-2.4.20-xfs
# xxx from suse or hdb:
#image=/mnt/extra2/boot/vmlinuz-2.4.20-xfs
# xxx from kpx cd
#image=/mnt/hdb1/boot/vmlinuz-2.4.20-xfs
label=KPX2420
initrd=/boot/initrd-2420.gz
# xxx from suse or hdb:
# initrd=/mnt/extra2/boot/initrd.gz
# xxx from kpx cd
# initrd=/mnt/hdb1/boot/initrd.gz
read-only
--Anyway, from the CD (recovery/repair mode) I end up doing:
' lilo -v 1 -C /mnt/hdb1/etc/lilo.conf -s /dev/null ' == This gets around the "read only filesystem" error. See 'man lilo' for details.
--A side note: always say "YES" when it asks if you want to make a boot floppy. JIC.
Quote:
Originally Posted by Stephen
One more usefull tidbit for the bag of tricks you got all kinds of them dave, thanks for the info.Quote:
Originally Posted by Dave_Bechtel
did that... got thisQuote:
sudo gvim /mnt/hda1/etc/lilo.conf
So, I thought about it and figured it must've been that I was using a console window, so I used the CRTL+ALT+F1 that was mentioned to me ages ago to get into the console figuring because it wasn't graphical, it meant it was the be all and end all place to do things. (I'm learning :wink: )Quote:
E25: GUI cannot be used: Not enabled at compile time
I got the same error message again. This is terrible! surely not everyone has this many hassles? I am not completely stupid either, inexperienced yes but not stupid so I havn't done anything I can see as being obviously wrong.
Maybe it's the version I've got... I got it off a PC Magazine for $15AUD. Maybe it is a special compile deliberately made to make it impossible to install easily... I don't know.
Thanks everyone for the help so far... the battle is far from won though... sorry. :?
if anyone uses MSN Messenger, please contact me on there [email protected]
I could really use some live help... but from one of you who already have a history of the problem.
OK- gvim is just an editor. If it doesn't want to work you can use another like so:
sudo mcedit /mnt/hda1/etc/lilo.conf
or
sudo xedit /mnt/hda1/etc/lilo.conf
Sorry but it isn't likely that you'll ever see me on msn anything. They couldn't pay me enough. Now if you want to get on IRC sometime just say the word- trust me it works a whole lot better than instant messaging.
Well, I went on to irc.knoppix.net#knoppix and had a great chat to grepper (thanks mate) and what I needed to do was make lilo.conf not read only then I edited it using vi etc/lilo.conf and found the error and fixed it.
It was a simple matter of then going lilo -v to write to the boot record (or whatever it's called :wink: ) and then I rebooted my computer.
Now, I am presented with another set back!!
Booting from the hard drive, it goes through the processes of starting up such as uncompressing linux and booting the kernel then I get the below message
Apparently this means I am not booting off the right hard drive... I need to hold shift when linux starts to get a boot menu but then what?Quote:
Kernel panic: VFS: Unable to mount root fs on 03:05
Thanks in advance.
Post the output of sudo fdisk -l /dev/hd? from a CD boot and also the entire /etc/lilo.conf file. Replace the ? with the drive letter for the HD most likely a.Quote:
Originally Posted by thegroover