LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 10-01-2007, 05:14 PM   #1
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 0
Grub throws errors installing on desktop system.


I would like to get Gentoo or Sabayon running on my desktop system.

Hard drives look like this

PHP Code:
sda 60gb
sda1
10gb fat
sda2
50gb ntfs sabayon iso located here

sdb 
37gb

sdc 
37gb

sdd 
80gb fat external 
I have a Gentoo LiveCD, and Sabayon in iso format only... and an ubuntu livecd.

What my ideal system would look like is Gentoo on sdb and Sabayon on sdc. When i find out which i like better, i will get rid of the other and raid the two drives.

I went to install Gentoo onto sdb, everything went fine during a networkless install. When I rebooted the computer, it came up as

PHP Code:
Booting Gentoo....

unable to boot...
something about (hd1,0being wrong...
press any key to continue

press any keygoes to grub screen that displays gentoo and takes you back to that obscure error... 
I cannot read it, everything is super fuzzy, grub displayed text as blocky white squares [] [][]

I figured it was just Gentoo, so installed Ubuntu onto sdb

I restarted, and got..

PHP Code:
Loading Grub...

Grub Error 15

(error 15 means it was trying to read a number and got invalid data back
I don't know what is going on.

I no longer have any trace of a windows system on my computer anymore, besides the NTFS partition on a drive im not even using.

My next step is to disconnect all drives but sdb and see if it boots up.

I cannot touch sda because it has sabayon iso/ndiswrapper/wireless drivers on it.

Does anybody have an idea as to what could be causing grub to throw up these weird errors? I know both Ubuntu and Gentoo install flawlessly on my laptop (which im on at the moment :P )... the only difference is hardware.

Thank you!
-Sequalit

Last edited by Sequalit; 10-01-2007 at 05:15 PM. Reason: spellcheck
 
Old 10-01-2007, 05:29 PM   #2
rsashok
Member
 
Registered: Nov 2006
Location: USA, CA
Distribution: RedHat, Debian
Posts: 202

Rep: Reputation: 31
Your grub tries to to read hard drive hd1. Are you sure that you grub command line is correct? Before disconnecting sdb's and sda's you might want to check your BIOS setting, to make sure that the BIOS first tries to boot from the drive you think it has to.
 
Old 10-01-2007, 06:57 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
those fat and ntfs tells me that you are more likely to have bios set already to boot sda....(hd0,0) in grub speak.

have a read of my signature...stick grub onto the mbr for sda....use the live cd to mount sdb and edit its /boot/grub/menu.lst to add an entry for chainloading ms as per signature.
 
Old 10-01-2007, 07:04 PM   #4
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
rsashok:

That is the first thing i checked and my bios is in working order...

I just unplugged all devices but the one nix was installed onto and still received an Error 15...

I'm at a loss on what to do, I read a post about fixing some sort of grub file for error 15 to point to another drive... i will try that next and see what happens.

any suggestions or help is greatly appreciated!

this is a learning process for me lol ;p

aus9:

I had windows installed onto sdb before i formatted the drive, sda has always been used as a storage drive

Will look into your tutorial was my next step

Last edited by Sequalit; 10-01-2007 at 07:06 PM.
 
Old 10-01-2007, 07:06 PM   #5
rsashok
Member
 
Registered: Nov 2006
Location: USA, CA
Distribution: RedHat, Debian
Posts: 202

Rep: Reputation: 31
aus9,

Thanks for the links, I always wanted to have relevant info like this within one keystroke, instead of my own badly organized notes on the subject matter. I bookmarked those for the reference.
 
Old 10-01-2007, 07:12 PM   #6
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
aus9:

i believe you were right in the fact grub was pointing to the wrong hard drive, just for kicks i decided to move the slots the hard drives were connected too... ( i want my two 37gb to come up as sda and sdb and then the storage as sdc/sdd anyways ;p ) well upon swapping sdb with sda, it booted into ubuntu... of course now ubuntu is unable to mount the root file system cause its looking for it elsewear ;P

I am assuming proceeding from here, I should move the location of my hard drives back to normal and edit the grub file to point correctly, and then proceed with my sabayon install >.<

or I could reinstall ubuntu... Ill see what works

Whatever gets my raptor drives to show up as the first two drives i am happy... makes things more organized.
 
Old 10-01-2007, 07:16 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
My guess is your two identical disks may be under Raid control and Grub doesn't know about it.
 
Old 10-01-2007, 07:22 PM   #8
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
saikee:

no, i would love for them to be raid 0 though

unfortunately the drivers that came with the motherboard only work on windows... i cant get linux to see the drives at all when i stick them in the array control on the motherboard... this is another project once i find out which i like better, basic gentoo or sabayon
 
Old 10-01-2007, 09:09 PM   #9
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I reinstalled Gentoo... and this is the error that is displayed


PHP Code:

Booting 
'Gentoo Linux'

root (hd00)
Filesystem type unknownpartition type 0xf
kernal 
/kernal?genkernal?x86?2?6?19?gentoo?r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 doscsi

Error 17
Cannot mount selected partition

Press any key to 
continue??? 
pressing any key beings up a bunch of vertical white lines, obscuring what you can see is a box in the background with gentoo linux highlighted...


I was able to boot into Gentoo when I went directly to the hard drive Gentoo is installed on... obviously I have some errors with menu.lst configuration.

Right now it looks like this:

root (hd0, 0)
kernel blah blah blah...
boot

Now my devices are plugged in as so

60GB - SATA 1 - shows as sdc
37GB1 - SATA 3 - shows as sda
37GB2 - SATA 4 - shows as sdb.

Gentoo is installed on the hardrive connected to SATA 3 slot, so it will be sda...

how do i determine which drive is the correct one?

..edit...

I changed the menu.lst file while i was booted into the system, and now it wont boot at all...

the system will not boot like it did when i told the bios to boot from that disk...

was it just a fluk? before i hardbooted into the drive i had played around in grub command line with root(different hd destinations) may that have caused it?



edit-------------------

What happened was when i told my bios to boot into just that hard drive, the bios made that hard drive hd0.... exactly what was on the menu.lst file... so when i changed my menu.lst file, i can no longer boot into the system doing that again... therefore, i have to somehow edit my menu.lst file and reset it back to normal, or change it to what the device really is as far as my motherboard is concerned, which would be hd1 and i had changed it to hd2... we'll see how it works >.<

Last edited by Sequalit; 10-01-2007 at 10:09 PM.
 
Old 10-01-2007, 10:45 PM   #10
Sequalit
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
ALL MY PROBLEMS ARE SOLVED!



weee =) thanks for the help everyone!

Biggest problem, was the fact that my motherboard and linux assigns hard drives by different criteria... whereas to my motherboard, my linux was on hd1, but linux considered that sda.

After finally figureing out how to manually boot grub (that was a pita, considering all the text was garbled up and you couldnt read a thing) I got into the system, and editing my menu.lst to the correct drive mappings.

Next boot up was flawless!

All problems solved by fixing ONE number in the menu.lst file!

Now to continue my project, install a linux distro from the ISO located on a NTFS hard drive.


again thank you for all of your guyses help!

-sequalit
 
  


Reply

Tags
booting, gentoo, grub, help, linux


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
booting to linux desktop without installing grub tm2383 Suse/Novell 4 11-15-2006 07:19 PM
PHP throws configure errors when trying to compile w/ mysql mrtwice Linux - Server 13 10-30-2006 06:36 AM
Installing Redhat 9 Throws Signal 11 kendall14 Red Hat 2 05-03-2006 10:32 AM
GRUB Dual Boot system errors with XP and Fedora 3 Armageddon00 Linux - Newbie 10 01-11-2005 03:29 PM
ncurses and ncursed-dev are present but the App install throws errors? ServerStorm Linux - Software 16 01-05-2005 04:11 PM


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