LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2006, 02:31 PM   #1
Hubmasterflex
Member
 
Registered: May 2005
Distribution: Mandriva Linux, SuSe 9.3
Posts: 75

Rep: Reputation: 15
Booting problem in Gentoo


I have two hard drives in my system. When I installed Gentoo 2006.0, it was installed under a master hard drive. However, since I also installed Windows under the master jumper on another hard drive, it won't load while it is in slave. The only way I could fix that was to make my Gentoo hard drive slave while keeping my Windows drive master. However, since I installed Gentoo under master, the root, filesystem and swap are all located under /dev/hda. Since the hard drive is now slave, it should be /dev/hdb. Therefore, when Gentoo tries to load the filesystem, this occurs:

fsck.ext3 No such device or address while trying to open /dev/hda3
Possibly non-existent or swap device?
Filesystem coun't be fixed

Any suggestions so that I could fix this?
 
Old 03-18-2006, 03:25 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Load in from a LiveCD such as Knoppix, and edit the fstab file. Should do the trick.

Regards,

Alunduil
 
Old 03-18-2006, 06:11 PM   #3
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
If you are using GRUB as your bootloader, you could switch the drive with Gentoo back to master and the windows drive back to slave. Boot gentoo, and edit your /boot/grub/grub.conf (or menu.1st) and add a couple of lines to the windows section to trick windows into thinking it's on the master drive.. something like:

Code:
title=Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
This should allow you to boot windows when it is on the slave drive.

I don't know if this can be done with LILO
 
  


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
Gentoo booting problems anon133 Linux - Distributions 11 04-24-2006 05:39 PM
[Gentoo] Grub not booting ?? nr5 Linux - Newbie 3 01-15-2005 06:46 PM
Trouble booting Gentoo GŠutama Linux - Distributions 5 01-14-2004 08:46 AM
Gentoo 1.4 - problem on booting satimis Linux - Distributions 7 10-14-2003 11:23 PM
install gentoo without booting from cd? barazor Linux - Distributions 1 08-31-2002 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 AM.

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