LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2003, 03:35 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Boot Slack 9.0


Hi I recently installed Slackware 9.0, but before I had Windows 2k installed, now Always enter to Windows without asking me which OS I want. What can I do to boot Slackware? , and configure LILO. Thanks
 
Old 06-29-2003, 04:18 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
inser the slackware disk boot then login as root, from there chroot into your slack partition

mkdir /mnt/slack
mount /dev/whicheverslackison /mnt/slack
chroot /mnt/slack /bin/bash

if you had lilo working at one time then all you need is to type /sbin/lilo if you didnt then you need to type pico /etc/lilo.conf

image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only

add that for booting into your slack partition but change /dev/hda2 to where you ahve it installed

other=/dev/hda1
table=/dev/hda1
label=windows

add that for windows again change the variables for where you have it installed
 
Old 06-29-2003, 04:19 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
oh and type /sbin/lilo when your done
 
Old 06-29-2003, 04:30 PM   #4
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Hi again I tried to do chroot /dev/hda3 that is my root partition, but appear me "chroot: cannot change the directory to /dev/hda3 not a directory" what can I do, and what did you mean with "/whicheverslackison"? Thanks
 
Old 06-29-2003, 04:32 PM   #5
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
if slack is on /dev/hda3 then do mount /dev/hda3 /mnt/slack or instead of /mnt/slack you can make any other directory and mount it there for you to chroot into somethign it must be mounted in some way or another

Last edited by watashiwaotaku7; 06-29-2003 at 04:33 PM.
 
Old 06-29-2003, 04:45 PM   #6
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
When I try pico /etc/lilo.conf appear me the lilo configuration file, like this :

#Start LiLo global Section
boot = /dev/hda3
mmesage = /boot/bootmesage.txt
prompt
timeout =1200
etc, in the final of the lilo.conf appear:

other =/dev/hda1
label =dos
table=/dev/hda1

image =/boot/vmlinuz
root=/dev/hda3
label =linux
read-only

then /sbin/lilo

and appear me: Warning: LBA32 addressing assumed
Fatal: Partiotion entry not found


Last edited by Gerardoj; 06-29-2003 at 05:02 PM.
 
Old 06-29-2003, 05:52 PM   #7
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
are you sure that is where windows is? on /dev/hda1? try making lilo without the windows part in also, the example i gave you was a modified bsd entry so maybe it wasn t exactly right ill post back if i find a windows entry for lilo that im sure works
 
Old 06-29-2003, 05:56 PM   #8
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
yep it should work for windows too except leave table as just /dev/hda if thats truly where it is installed which lilo sez it isnt
 
Old 06-29-2003, 06:07 PM   #9
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
I tried deleting the part of windows:

other =/dev/hda1
label =dos
table=/dev/hda1

and always boot with windows

What do you think? Thanks
 
Old 06-29-2003, 08:07 PM   #10
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
hhhmmm i think you must have specified lilo to not be installed in the mbr try typing liloconfig into the console and following the instructions, make sure to have lilo install into the mbr
 
Old 06-29-2003, 08:23 PM   #11
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
I tried with liloconfig and I assign MBR but nothing happened, do you think that I need to reinstall LILO? or some kernel parameters? what can I do?

Last edited by Gerardoj; 06-29-2003 at 08:28 PM.
 
Old 06-29-2003, 08:37 PM   #12
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Now Im able to boot in Linux but when I do I get text mode instead GUI like Gnome or Kde? how can I get it right?. And now I cant enter into Windows. Do I need enable Windows as bootable in the flag partition? what is the problem now?

Last edited by Gerardoj; 06-29-2003 at 09:01 PM.
 
  


Reply



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
How to boot from Slack cd SlackN00b Slackware 8 01-08-2004 01:04 AM
Slack won't boot massta Slackware 3 06-22-2003 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:45 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
Open Source Consulting | Domain Registration