LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Boot Slack 9.0 (https://www.linuxquestions.org/questions/linux-software-2/boot-slack-9-0-a-68868/)

Gerardoj 06-29-2003 03:35 PM

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

watashiwaotaku7 06-29-2003 04:18 PM

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

watashiwaotaku7 06-29-2003 04:19 PM

oh and type /sbin/lilo when your done

Gerardoj 06-29-2003 04:30 PM

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

watashiwaotaku7 06-29-2003 04:32 PM

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

Gerardoj 06-29-2003 04:45 PM

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


watashiwaotaku7 06-29-2003 05:52 PM

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

watashiwaotaku7 06-29-2003 05:56 PM

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

Gerardoj 06-29-2003 06:07 PM

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

watashiwaotaku7 06-29-2003 08:07 PM

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

Gerardoj 06-29-2003 08:23 PM

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?

Gerardoj 06-29-2003 08:37 PM

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?


All times are GMT -5. The time now is 12:55 PM.