LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-04-2006, 01:23 PM   #1
Mario87
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Dual-Booting Ubuntu/Slackware


Hi all,

I've installed Ubuntu and I'm trying to get Slackware on the computer as well. Ubuntu was setup flawlessly and is on the sda hard drive. I then downloaded GParted and setup a swap partition and ext3 partition for slackware. Slackware seemed to install fine, but it did not use the swap partition (I could only select the Ubuntu partition). I did not install Lilo. Now when I boot up, GRUB only sees Ubuntu and not slackware. Do I have to update GRUB so that it checks sdb (it's a different hard drive altogether)?

Thank you,
Mario

EDIT: I've recently learned that I have to update the menu.lst for GRUB. Of course, being a newbie, I have no idea what I have to add, and the example only helps slightly. I don't wanna mess it up (yes, I've created a back up), and this is what I've come up with:

title Slackware
root (hd1,0)
kernel /boot/???

I'm not sure if I got root right, but slackware is installed on the second hard drive. I'm also unsure of what to put for kernel.

Last edited by Mario87; 12-04-2006 at 01:36 PM.
 
Old 12-05-2006, 06:26 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I understand you have two partitions on sdb, one swap and then the Slack installation? Your proposed addition to menu.lst specifies the Slack installation as being on what Linux calls /dev/sdb1. Is that where it is? If you are not sure, you can check it by booting into Ubuntu and typing:

sudo fdisk -l

which will list the partitions on both disks (the option after fdisk is the letter "el"). Rather than quessing what the kernel is called, I would suggest mounting your Slack partition while Ubuntu is running and taking a look. I am not familiar with Ubuntu, but I am guessing it has a /mnt directory. You can mount the Slack partition as follows. (I am assuming it is on /dev/sdb1. If not, adjust accordingly.)

sudo mkdir /mnt/slack
sudo mount /dev/dsb1 /mnt/slack

Your Slack /boot directory will now be at /mnt/slack/boot, etc. Use the ls command to take a look around. My guess is the kernel is in the Slack /boot directory and will be called vmlinuz or something similar. Possibly with with a version number appended.

Last edited by blackhole54; 12-05-2006 at 06:28 AM.
 
Old 12-05-2006, 05:21 PM   #3
Mario87
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help, I just ended up formatting everything, installing slackware first and ubuntu second. Ubuntu recognized slackware as "another Linux OS" and set it up. That's why I love Ubuntu .
 
  


Reply


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
Dual booting Ubuntu and Freebsd brianthegreat Ubuntu 7 06-01-2011 12:38 AM
Dual booting problem (ubuntu 5.04) fireedo Ubuntu 12 04-24-2007 12:34 PM
Help! Ubuntu - XP dual boot, XP not booting mailforbiz Linux - Software 10 05-10-2006 10:51 PM
dual booting ubuntu 5.10 with xp pro fakie_flip Ubuntu 9 01-20-2006 12:19 PM
Dual-booting an old FC w/Ubuntu? Blackfire Linux - General 1 08-09-2005 04:06 AM


All times are GMT -5. The time now is 10:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration