LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-06-2004, 05:20 PM   #1
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
Angry 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
 
Old 01-06-2004, 05:23 PM   #2
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
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
 
Old 01-06-2004, 05:34 PM   #3
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
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
 
Old 01-06-2004, 05:46 PM   #4
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
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
 
Old 01-06-2004, 06:47 PM   #5
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thx very much m8 u saved my day (ops nite )
 
Old 01-06-2004, 06:51 PM   #6
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by SlackN00b
Thx very much m8 u saved my day (ops nite )
Glad to hear it
 
Old 01-07-2004, 09:59 AM   #7
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
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.
 
Old 01-07-2004, 12:23 PM   #8
SlackN00b
Member
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thx I figured it out by myself but don't wanna screw qin installation
 
Old 01-08-2004, 01:04 AM   #9
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack and suse dual boot. boot error cormack Slackware 4 05-24-2006 01:10 AM
Can't boot Slack 10 CD but Windows 2000 CD does boot? net02 Slackware - Installation 3 10-18-2004 10:18 AM
slack won't boot tj07 Slackware - Installation 3 01-23-2004 03:12 PM
Boot Slack 9.0 Gerardoj Linux - Software 11 06-29-2003 08:37 PM
Slack won't boot massta Slackware 3 06-22-2003 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration