Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-16-2006, 12:55 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
slackware 10.2/windows xp/ubuntu...

Here we go..
I had a dual boot system with ubuntu and windows xp, using GRUB. Yesterday i decided i wanted to try slack because a friend of mine had told me a lot about it and how good it was. So i deleted my ubuntu partition and installed slack on that..the install went okay and it told me to reboot, when i rebooted i got the error GRUB error 15, and then the second time i got GRUB error 17. my computer stalls and does nothing after that. I used knoppix last night and saved all my data that was crucial from my XP partition. any suggestions of how to get this working?
Old 05-16-2006, 01:32 PM   #2
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Don't worry about your data, it's just the bootloader not working because it needs to read a file from the disk (menu.lst) that's not there anymore (it was when you had ubuntu :P).
You can recreate a working GRUB config file or use LILO instead, which is Slackware's default bootloader.
To install it, boot with Slackware CD 1 and on lilo prompt (when it says boot enter: bare.i root=/dev/hdXX
Replace XX with the correct letter and number of your Slackware root partition, press ENTER and you'll be running Slackware. Once you're there, you've to install LILO, to do that, run: liloconfig

Edit: Forgot to say, don't worry about the warning, choose Expert mode and then install to MBR.

Last edited by gbonvehi; 05-16-2006 at 01:37 PM.
Old 05-16-2006, 01:39 PM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,691

Rep: Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017
I believe you installed Slackware and during the install, either selected a "safe" lilo installation, or told the installer to install lilo into the root partition instead of the MBR (master boot record).
Grub which you used before as the bootloader, is partly present in the MBR, but the rest of Grub was available in the /boot/grub directory of your Ubuntu partition, and you wiped that away.

What you can do is boot again from the Slackware install CD1 and when it pauses to let you select a kernel, pay close attention to what is on the screen. It will tell you that you can "boot your current installation in a pinch" or words like those, and tell you to enter
bare.i root=/dev/hda1 noinitrd ro
to boot directly into the Slackware that is installed on hard disk. Probably the partition your Slackware is installed is hda2, in that case the command line to enter would become
bare.i root=/dev/hda2 noinitrd ro
- you'll get the idea.

Once you've booted into your installed Slackware and logged in as root, open the file /etc/lilo.conf in an editor (vi or pine or whatever) and look for the line
boot = /dev/hda2
(perhaps that 2 is another partition number in your case). You should install lilo into the MBR which you do by changing the above line to
boot = /dev/hda
Save the file, and install the bootloader by running the command
This will wipe the remnants of Grub from the master boot record.
Now, reboot again, without the CDROM in the drive, and Slackware's LILO boot prompt should appear.



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
Slackware VS Ubuntu d00msweek Slackware 216 07-07-2010 08:45 AM
Which to install? Slackware or Ubuntu? Virus1984 General 11 05-10-2006 07:33 PM
Slackware 10.2 or ubuntu? roAder Slackware 30 04-27-2006 11:26 AM
ubuntu will not see windows network pc guardianx Linux - Networking 3 08-09-2005 02:38 PM
Help Slackware user try Ubuntu kornerr Ubuntu 8 06-10-2005 07:00 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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