You are not logged in.
Pages: 1
I forgot to run lilo after the kernel was updated, now I cann't access my archlinux, what should I do to access it without re-installation? thanks
Offline
you can boot with the arch install cd, and try this at the boot prompt
boot: vmlinuz root=/path/to/your/root/partition (the device ,example /dev/hda1)
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
heh it seems kaka beat me to it, and his solution is much simpler. oh well.
here's what i said originally, anyway.
well, this doesn't involve reinstalling, but has some of the same steps.
what you want to do is boot up the install cd. mount all your partitions into /mnt, including dev (into /mnt/dev) and all that stuff. then you can chroot into /mnt, with /bin/bash as the program to run, and edit your lilo.conf, and simply run lilo.
the more "manual" quick install makes you do all this to get your computer to work in the first place, but i assume you used the ncurses setup script, which makes things easier.
Offline
heh it seems kaka
I insist I am not kaka....
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
That sometimes doesn't work for me... maybe I'm doing something wrong, but this is what I do.
Boot from cd.
# mount -t ext2 /dev/hdd3 /mnt/
==> My disk = hdd, root = 3 (type ext2)
# mount -t ext3 /dev/hdd1 /mnt/boot
==> My disk = hdd, boot = 1 (type ext3, wanted to try something else )
# /mnt/bin/mount --bind /dev /mnt/dev
# chroot /mnt
then run lilo and reboot. You're done.
Offline
you can boot with the arch install cd, and try this at the boot prompt
boot: vmlinuz root=/path/to/your/root/partition (the device ,example /dev/hda1)
Have u tried that ? I could have used that y/e day
Offline
It does not work for me now, because the arch install cd does not recognize my hard drive, but used to work fine. The last time I had to do this, I used chroot, and it worked fine.
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
or just use grub and never worry about running lilo again
Offline
If you have knoppix or some other boot cd, boot from it and then open a shell and su, then
mount -o dev /mnt/hda1
lilo -r /mnt/hda1 -b /dev/hda
Assuming it is hda1 you boot from.
Offline
Pages: 1