how to get back lilo
I am using two hardrives slack 12 on hdb winxp on hda. I had to reinstall winxp after a crash. Now my system boots directly into windows without the lilo prompt.Is there anyway to get back lilo? thanx for any help. and a good xp activation crack would be nice too.....just kidding not really
|
boot your system using Slackware's CD 1
mount your root partition on some mount points, and ran chroot to that directory next, ran /sbin/lilo and you will have your lilo back |
did you get your LILO back?
when you boot your Slackware CD type in as follows: bare.i root=/dev/hdb1 noinitrd ro (then press enter) assuming slackware is on the first partition of /dev/hdb (adjust accordingly if needed) if you have an initrd.img then leave the noinitrd out, once slackware is booted logon as root and type in /sbin/lilo and you should get your lilo bootloader back... |
Quote:
Code:
hugesmp.s root=/dev/hdb1 rdinit= ro |
lol, roadmap i guess i am behind the times for booting an installed system with Slackware-12, i have not actually had to do it in a long long time, Thanks...
|
Quote:
Quote:
|
might want to save your master boot record that contains the xp loader just in case.. i think it's 512kb - copy it out like this, from a linux prompt:
dd if=/dev/hda bs=1024 count=512 of=/root/hda.mbr.20070831 or something like that. assuming hda is the hard drive with the xp boot record on it. read other posts about saving the master boot record, and arguments about the partition table if you want to restore it in the future. but the instructions given above should get your lilo loader up and running - using the install cd. |
ok thanx for your help. I loaded up my slack dvd booted into root and typed in the command /sbin/lilo and voila lilo is back in effect. thanx for your help everyone.
|
All times are GMT -5. The time now is 12:59 PM. |