How to boot from Slack cd
Hello guys I think I screwed up my lilo cuz after editing it and running lilo my system doesn't boot into Slack anymore.
How can I boot into my root partition with slack cd rom? And is it just enough to run liloconfig once I'm inside my Slack root? or just edit lilo.conf and run sbin/lilo? Thx a lot in advance I can't use my slack anymore :( |
When the machine boots and gets to the boot: prompt...type...
bare.i root=/dev/hdxx nointrd ro Replace hdxx with your root partition...hda1, hdb1, etc. Edit lilo.conf if needed, then run /sbin/lilo. HTH |
Ok first may help that I dual boot win2000 and slack
Win2000 is on hda and slack root on hdb2. I modified the win2000 boot.ini adding slack.lnx on my windows c:\ drive and it worked flawlessy. I did what u said and I booted into my linux root typed linuxconfig and after selecting simple I exited and rebooted. now when I select Slackware at the windows dual boot prompt all i get is : 9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A 9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A Now what :confused: |
After booting into Slack...and running Lilo with a proper config...
dd if=/dev/hdb2 of=/bootsect.lnx bs=512 count=1 mcopy /bootsect.lnx a: Boot into Windows and copy the file on a: to c:\. Then edit boot.ini and add C:\BOOTSECT.LNX=Slackware This is just an example of how to do this. However you initially got the dual boot working, is how you would edit my instructions. HTH |
Thx very much m8 u saved my day (ops nite :) )
|
Quote:
|
you have to "dd" the bootsect.lnx EVERY time you run /sbin/lilo.
thats why is better to use just one boot manager ... -> LILO ... just put "other" in lilo.conf. M. |
Thx I figured it out by myself :) but don't wanna screw qin installation :p
|
you will screw nothing. you can make a backup of your MBR with:
dd if=/dev/hda of=/boot/mbr_had_backup bs=512 count=1 and than put this in lilo.conf for your windows installation: other=/dev/hda label=Windows boot-as=0x80 run # /sbin/lilo && reboot and thats it. M. |
All times are GMT -5. The time now is 07:24 AM. |