LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-10-2006, 10:32 AM   #1
diablo_
Member
 
Registered: Dec 2005
Distribution: Slackware 11.0
Posts: 30

Rep: Reputation: 15
First dual boot, now triple!


I had Windows XP and Slackware 11.0 dual boot. Windows XP fail so i have to format it and reinstall, during that process Windows XP overwrote the MBR and i only had Windows XP to boot. A few hours ago i installed Ubuntu 6.06 Dapper and now i have grub boot loader with Ubuntu 6.06 Dapper and Windows XP boot choices.

Slackware 11.0 is still intact and i need help about what to write in grub menu.lst to boot Slackware 11.0.

Edit: Slackware 11.0 is on hda5.

Spasojevic Dimtirije

Last edited by diablo_; 12-10-2006 at 12:07 PM.
 
Old 12-10-2006, 12:21 PM   #2
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Rep: Reputation: 17
In your menu.lst, or whatever menu file Ubuntu uses with grub often located in /boot/grub, add:

Code:
title Slackware
root hd(0,4)
kernel /boot/vmlinuz ro root=/dev/hda5
Of course you might have to change the filename of the kernel (vmlinuz) to represent your own (for example: vmlinuz-2.6.12)
 
Old 12-10-2006, 01:03 PM   #3
diablo_
Member
 
Registered: Dec 2005
Distribution: Slackware 11.0
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks alot mixtr.

I should write vmlinuz-2.4.33.3 if i rember correct, but don't worry i will check again.

Code:
root hd(0,4)
Edit: Hm, a little (i know, accident) mistake. It should be
Code:
root (hd0,4)
and i had to wrote exactly vmlinuz-int-2.4.33.3 but it depends from version of slack you get. You can see what you need to write in /boot/ directory. (This wasn't refering to you mixtr, i was just trying to help others how to solve the problem if they have the same :P )

Last edited by diablo_; 12-10-2006 at 01:21 PM.
 
Old 12-10-2006, 05:06 PM   #4
mixtr
Member
 
Registered: Jul 2004
Location: Ottawa
Distribution: Arch, OpenBSD
Posts: 123

Rep: Reputation: 17
Thumbs up

Quote:
Originally Posted by diablo_
Edit: Hm, a little (i know, accident) mistake. It should be
Code:
root (hd0,4)
Oups!

Quote:
and i had to wrote exactly vmlinuz-int-2.4.33.3 but it depends from version of slack you get. You can see what you need to write in /boot/ directory. (This wasn't refering to you mixtr, i was just trying to help others how to solve the problem if they have the same :P )
Yeah, sloppy work on my part. I tend to assume everyone speaks the same language as me and know what I'm talking about and how to do the other half of the job. I'll take the blame on that one..
 
  


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
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 01:28 PM
Dual/Triple Boot, all linux Seventh Linux - Newbie 1 03-06-2004 09:15 AM
Dual or triple pan filemanager? Coume Linux - Software 1 12-01-2003 02:14 AM
Dual (triple?) boot system loran Linux - Newbie 7 02-27-2003 12:26 PM
Dual and Triple booting question Mithrilhall Linux - Newbie 2 07-10-2002 10:01 AM

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

All times are GMT -5. The time now is 06:52 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