Computing.Net > Forums > Linux > Linux Slackware install.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Linux Slackware install.

Reply to Message Icon

Name: richjt
Date: February 2, 2005 at 10:17:05 Pacific
OS: winxp
CPU/Ram: 1.8GHZ 1 GIG
Comment:

I have a 80GB HD. The first 39.9GB is partioned for winxp and I pationed, and formatted the next 19.9GB for linux and installed Linux Slackware. My PC still starts up with winxp and I don't get the choice of items to startt up.
I must have missed something, HELP



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: February 6, 2005 at 09:54:36 Pacific
Reply:

You probably didn't install lilo to your MBR. Did you make a boot floppy during the installation of slack? Failing that you can boot your system using the slack CD or at least fix the problem. If you can get your system booted, check your /etc/lilo.conf file to make sure there is an entry for windoze and also that "boot = /dev/hda" is there (NB you can change this to /dev/fd0 to create a boot floppy). You can then write it to your MBR with the command lilo.


0

Response Number 2
Name: richjt
Date: February 9, 2005 at 10:50:11 Pacific
Reply:

Thank you for the info. I typed /etc/lilo.conf and it came up with the installation process for slack. the later I coudn't find, but winxp-c that I placed on part of the installation process appears, on either Source or Target? as hda1.
When I go into cfdisk there is,

hda1 NTFS fo windows 40GB
hda2 linux ext2 for linux 19.98GB

How can I access the /etc/fstab and what is the correct thing to type and will this make any difference?



0

Response Number 3
Name: 3Dave
Date: February 10, 2005 at 01:11:23 Pacific
Reply:

If there is an entry for both XP and slackware in /etc/lilo.conf and also "boot = /dev/hda" then just write it to your MBR with the command "lilo".

Post up the contents of /etc/lilo.conf....


0

Response Number 4
Name: richjt
Date: February 11, 2005 at 03:55:52 Pacific
Reply:

After booting from disk1 I looged in as root and typed /etc/lilo.conf and it came back with not recognised. So I'm considering removing the partition and starting over. PS is it fesable to go to fdisk /mkswap or something like that? Will that make any difference.


0

Response Number 5
Name: 3Dave
Date: February 11, 2005 at 04:57:12 Pacific
Reply:

/etc/lilo.conf is the configuration file you want to edit with a text editor such as pico or mcedit. You can view its contents with:
$ less /etc/lilo.conf

Are you booting with the boot floppy made during the slackware installation or the slackware setup CD? Boot with the floppy and then log in as root and run the command "lilo" to write lilo.conf to your MBR.

If you didn't make a floppy (which you really should have done) then you need to boot from the CD, log in as root, mount your slack partition (mount /dev/hda2 /tmp) and then change your root to that (chroot /tmp). You can now use the lilo command to write the bootloader to your MBR.


0

Related Posts

See More



Response Number 6
Name: richjt
Date: March 2, 2005 at 03:07:13 Pacific
Reply:

I removed the hda2 partition which was primary that containd slackware and then chose logical and it partitioned it as hda5. On part of the installation where it detected windows and to make it visable to linmux I entered win-c inthe fat-c option, and created a boot floppy. Lilo still does't come up at start up though. O n booting from the floppy I typed lilo and it came up with,
windoz
linux etc. Advise how to proceed would be appreciated.


0

Response Number 7
Name: 3Dave
Date: March 2, 2005 at 04:47:41 Pacific
Reply:

Boot with the floppy.

Edit /etc/lilo.conf with a text editor. In
text mode both pico and mcedit are good for
beginners, if you are using a GUI try kedit
or gedit. Towards the top there will be a
line that says something like:
boot = /dev/????
Change it so it reads:
boot = /dev/hda

Run the command lilo again to write the
changes to /dev/hda (your MBR).

That should be it. Eject the floppy and
reboot. Posting up the contents of your
lilo.conf file might be a good idea if you
still can't get this to work.

You could just use the floppy when you want
to boot slackware and eject it for
windoze....many people do, just make sure
you have a backup of the disk!


0

Response Number 8
Name: richjt
Date: March 3, 2005 at 11:13:39 Pacific
Reply:

I booted from the floppy, typed root and signed on as root. to begin with I typed lilo and it came up with windows forst and then linux.
I then went into mcedit and typed ,
boot=/dev/hda and then went to save it but it said cannot save this item, so I tried boot/dev/hda5. hda5 is where my linux partition is and got the same message. So I tried hda5 and it said this item already exists, do you want to repace it?
What should I do next? How can I use the floppy to get the system to boot from hda5?


0

Response Number 9
Name: 3Dave
Date: March 4, 2005 at 01:09:43 Pacific
Reply:

How did you start mcedit? Did you actually
edit the file /etc/lilo.conf? After logging
in as root you want to type:
# mcedit /etc/lilo.conf
You still haven't posted up the contents of
the file /etc/lilo.conf yet....it would
help.
"...How can I use the floppy to get the
system to boot from hda5?..."

If you managed to log in as root then you
already have booted the system!


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Linux Slackware install.

Slackware instalation on WinMe www.computing.net/answers/linux/slackware-instalation-on-winme/3549.html

Which linux to install on old laptop? www.computing.net/answers/linux/which-linux-to-install-on-old-laptop/8117.html

Slackware install problem www.computing.net/answers/linux/slackware-install-problem/22754.html