LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-29-2005, 01:21 AM   #1
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
Dual Boot <Two Linux Distros, no Windows>


Here's my problem, I'm not sure if this is the right forum though:

I'm running Fedora Core 3 on my first HD, and I've installed Slackware 10.1 on my second.

I have yet to be able to boot into my newly installed Distro even though my second HD is set to be bootable :?

Code:
[root@localhost ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          13      104391   83  Linux
/dev/hda2              14        9729    78043770   8e  Linux LVM

Disk /dev/hdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        9609    77184261   83  Linux
/dev/hdb2            9610        9733      996030   82  Linux swap


I've done a search and can't find anything that helps me.

I've looked in my Slackware /boot directory

Code:
[root@localhost ~]# mount /dev/hdb1 /mnt/hdb1/
[root@localhost ~]# cd /mnt/hdb1/boot/
[root@localhost boot]# ls
boot.0341         config-ide-2.4.29  README.initrd          vmlinuz
boot_message.txt  diag1.img          System.map             vmlinuz-ide-2.4.29
config            map                System.map-ide-2.4.29
[root@localhost boot]#
as you can see, there is no initrd-ide-2.4.26.img file.
That makes me think I'll have a problem putting

Code:
title Slackware 10.1
	root (hd0,0) #assuming I copy the appropriate files to   (hd0,0)/boot/grub#
	kernel /vmlinuz-ide-2.4.29 ro root=/dev/hdb1 quiet
	initrd /initrd-ide-2.4.29.img
in my grub.conf file.

Can anyone help, or point me in the direction of help?
 
Old 03-29-2005, 03:00 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
That's because Slack doesn't use initrd by default. Be sure that /boot is the either the same partition on both devices, or that the kernels both reside in the same directory for both distros.

Other than that, you shouldn't have any problems (although I'm not familiar with Grub, the idea is still the same).

Cool
 
Old 03-29-2005, 07:54 AM   #3
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 18, 19, RHL 5.2
Posts: 546

Rep: Reputation: 43
Re: Dual Boot <Two Linux Distros, no Windows>

Based on what you have written I see a few problems with your grub.conf. I assume you have an entry for Fedora Core 3 and a second one for Slackware 10.1. One entry should point to the first hard drive /dev/hda1 and the other entry needs to point to /dev/hdb1. To grub these are (hd0,0) and (hd1,0), provided the boot directories are on the first partition of each drive.

As you observed and MasterC pointed out there is no initrd-ide-2.4.29.img in your boot directory on hdb1. You should be able to remove the initrd entry from your configuration. You could also make an initrd with the mkinitrd command and leave the entry in there. Another thing I noticed is that your path should be /boot/vmlinuz-ide-2.4.29 not /vmlinuz-ide-2.29. The same path would also apply to initrd if you created one.

I'm thinking the following entry will get you up and running. I also removed "quiet" from the kernel line because I did not see that in the manual and am unsure of how it is use.
Code:
title Slackware 10.1
	root (hd1,0)
	kernel /boot/vmlinuz-ide-2.4.29 ro root=/dev/hdb1
Bill

Last edited by wmakowski; 03-29-2005 at 07:56 AM.
 
Old 03-29-2005, 09:20 AM   #4
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Slackware, OS X
Posts: 443
Blog Entries: 9

Original Poster
Rep: Reputation: 32
Thank you all very much

*edit
everything works great! I used wmakowski's advice

Last edited by truthfatal; 03-29-2005 at 11:15 AM.
 
  


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 boot of linux distros on 1HD machine brisde Debian 3 09-10-2005 02:00 AM
Mepis-friendly linux distros for dual-boot dealerman MEPIS 12 07-13-2005 09:27 PM
dual boot two linux distros on one hd with lilo darkleaf Linux - Software 11 02-24-2005 10:52 AM
dual boot for multiple linux distros pirozzi Linux - General 5 01-29-2005 08:15 AM
lilo dual boot two linux distros / hda and hdb rioguia Linux - Newbie 2 01-23-2003 12:35 AM


All times are GMT -5. The time now is 05:29 PM.

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