LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to boot from Slack cd (https://www.linuxquestions.org/questions/slackware-14/how-to-boot-from-slack-cd-132180/)

SlackN00b 01-06-2004 05:20 PM

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 :(

DaOne 01-06-2004 05:23 PM

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

SlackN00b 01-06-2004 05:34 PM

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:

DaOne 01-06-2004 05:46 PM

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

SlackN00b 01-06-2004 06:47 PM

Thx very much m8 u saved my day (ops nite :) )

DaOne 01-06-2004 06:51 PM

Quote:

Originally posted by SlackN00b
Thx very much m8 u saved my day (ops nite :) )
Glad to hear it :)

malo_umoran 01-07-2004 09:59 AM

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.

SlackN00b 01-07-2004 12:23 PM

Thx I figured it out by myself :) but don't wanna screw qin installation :p

malo_umoran 01-08-2004 01:04 AM

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.