LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-02-2006, 06:22 AM   #1
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Rep: Reputation: 15
Booting windows&slack


Hi

I just installed slack 10.2 on my system.When I turn my PC on,I get a black screen with some text that begins with ''GNU GRUB''...I think that this is the bootloader,right?You can type commands there.So how can I boot slack and windows from there?

thanx in advance
 
Old 04-02-2006, 06:27 AM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
I don't know man. Lilo is the default bootloader for Slackware. What did you do?
 
Old 04-02-2006, 06:38 AM   #3
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Randux
I don't know man. Lilo is the default bootloader for Slackware. What did you do?
I think I know the answer myself.I installed lilo into superblock.You have to install it to MBR right?
 
Old 04-02-2006, 06:43 AM   #4
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
If you installed Lilo to the superblock and you're getting a grub message, it means that this is not the first time someone did something on that pc.

Always keep a live CD around. Kanotix is great, Slax is good.

Boot from the live CD. Either find your lilo.conf in the filesystem of your Slackware (or other) linux system and fix it or make a new one.

lilo -v -t -b /dev/hda # test without installing anything

lilo -v -b /dev/hda # when above runs cleanly, install in MBR

P.S. Since you have the Slackware installation CD, use it. Boot into it and then at the prompt start editing a lilo.conf. I can't remember what editors come on the Slackware boot disc (if any) but I hope you know vi.

If not, chroot into your Slackware system:

mkdir /mnt/myslack
mount /dev/hdan /mnt/myslack # where "n" in "hdan" is Slackware partition number

chroot /mnt/myslack # now you are running in your Slackware system

use whatever you need to fix the /etc/lilo.conf and run lilo as above

edit: fixed spelling error in Kanotix

Last edited by Randux; 04-03-2006 at 04:45 AM.
 
Old 04-02-2006, 07:16 AM   #5
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Randux
If you installed Lilo to the superblock and you're getting a grub message, it means that this is not the first time someone did something on that pc.

Always keep a live CD around. Kantox is great, Slax is good.

Boot from the live CD. Either find your lilo.conf in the filesystem of your Slackware (or other) linux system and fix it or make a new one.

lilo -v -t -b /dev/hda # test without installing anything

lilo -v -b /dev/hda # when above runs cleanly, install in MBR

P.S. Since you have the Slackware installation CD, use it. Boot into it and then at the prompt start editing a lilo.conf. I can't remember what editors come on the Slackware boot disc (if any) but I hope you know vi.

If not, chroot into your Slackware system:

mkdir /mnt/myslack
mount /dev/hdan /mnt/myslack # where "n" in "hdan" is Slackware partition number

chroot /mnt/myslack # now you are running in your Slackware system

use whatever you need to fix the /etc/lilo.conf and run lilo as above
Thanx!It works now.
 
Old 04-02-2006, 07:24 AM   #6
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Thanks for letting us know!
 
Old 04-02-2006, 07:05 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Excellent - congrats on solving the problem Deelk and thanks for posting back with the update, as it will be very helpful to future readers who encounter the same situation
 
  


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
Problem booting new Xandros install with Slack & XP Vincent_Vega Linux - General 2 12-01-2004 02:20 PM
Slack 10: Lilo not booting Windows (though 9.1 did!) arnostienen Slackware 7 07-18-2004 03:37 AM
Lilo & Windows Xp- Slack Help Please ClericPreston General 7 07-09-2004 12:20 PM
dual booting win98 & rh : possible problem if upgrading windows? yanar99 Linux - Newbie 2 01-29-2004 09:36 PM
Dual booting windows & linux leeman_s Linux - General 5 01-28-2003 04:32 PM

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

All times are GMT -5. The time now is 03:50 AM.

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
Open Source Consulting | Domain Registration