LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2008, 08:49 PM   #1
CitizenCCW
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Distros will install but not boot from a SATA drive.


I'm gonna ask this here in "General" because I can't tell if it's the HDD or if it's a bootloader problem.

Basically, I've got a 120GB Western Digital, SATA 150 drive. I've tried MEPIS 7 and 8 beta3 and Linux Mint 5 KDE with the same outcome: the distro will install without errors, I am given the bootloader menu, then I get something like this:
Code:
root (hd2,0)
Filesystem type is fat, partition type 0xc
Kernel  /boot/vmlinuz-2.6.24-19-generic root=/dev/sdc1 ro quiet splash
Error 15: file not found
Sometimes I'll get slight variations on this (I've tried several installs) like Error 17: mount point something or other.
I've tried setting up the partitions myself, letting the installer auto install, ext2, ext3, Grub at MBR, Grub at root, etc. Every time it seems I get a successful install but then no boot. I'm fairly certain the drive is good. It had XP on it for the last three years without problems.

here's my other specs if that helps:

mobo ASUS P4P800 SE
proc P4 2.4 Northwood
video ATI x1600 AGP
mem 4 modules, Corsair DDR 400 256MB
HDD's
40GB Hitatchi Deathstar, IDE runs MEPIS 8 beta3 without trouble
10GB Fujitsu IDE POS used for swapping files between Linux and Windows
120GB Western Digital SATA 150. (The drive in question) Worked fine for XP
320GB Seagate Barricuda SATA current home of XP

Any ideas very much appreciated.
 
Old 11-04-2008, 01:20 AM   #2
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
From the code you have given, it seems the root partition is FAT. Not sure if that is possible. If it is, then since FAT uses "\" rather than "/", could that explain the phenomenon?
 
Old 11-04-2008, 03:01 PM   #3
CitizenCCW
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by htnakirs View Post
From the code you have given, it seems the root partition is FAT. Not sure if that is possible. If it is, then since FAT uses "\" rather than "/", could that explain the phenomenon?
But I had GParted completely format the drive then repartition, not just once but several times. Could this be a bug in the GParted that ships with MEPIS? And the Mint DVD seemed to recognize the ext3 and swap partitions that MEPIS created.
Could it be a bootsector virus or something?
 
Old 11-04-2008, 03:24 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Have you tried allowing the installer to setup the filesystem on the installation partition? Or are you just telling it to accept what you've done, as-is?
 
Old 11-04-2008, 03:43 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Nah.

The most probably cause is that it's booting from the wrong device.

This can happen sometimes when you have IDE drives and SATA drives. A distro using the old IDE drivers will name the drives as hdX, and a kernel using the newer PATA drivers, based on the SATA infrastructure, will name them as sdX, that can change the names, and hence it will also change the ordering of the drives often, causing odd problems like the one you describe.

Just to make sure, use the grub facilities at boot time to edit the boot lines. Wherever you can see "sdc", go to that place, delete the "c", and then press TAB to autocomplete, and see the available options. If nothing happens, try to delete "sdc" altogether and trying to autocomplete "hd" instead. It's a feature of grub that can be very convenient in these cases. Try to find the right root.

If that's not the problem then we can look elsewhere, but first, let's try the obvious things, just in case.

Last edited by i92guboj; 11-04-2008 at 03:46 PM.
 
Old 11-04-2008, 03:51 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Seems you're (and grub) not looking at the disk you think you are. This can be caused by bad init scripts when you have a mix of P-ATA (IDE) and S-ATA drives. I've seen it on Ubuntu, but apparently it goes all the way back to the Debian base - Mepis (these days) and Mint both derive from Ubuntu.

Try something completely different - say Fedora.
 
Old 11-05-2008, 07:57 PM   #7
CitizenCCW
LQ Newbie
 
Registered: May 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Oh crap I fixed it. Aside from the main BIOS page that shows all my IDE devices, there is the boot order page with a tab called hard disk drives. You can change the order of the drives while having nothing to do with the boot order. So while Gparted calls mine the third drive and GRUB was told by the installer it was the third drive, the BIOS says it was drive four.

Well thanks all the same. Your suggestions got me looking at it from a different perspective and that's how I found it. Mark this one down as solved.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New SATA card caused no drive access...now new installs..various distros not booting. jagnth Linux - General 0 10-22-2007 05:29 PM
Different distros & SATA drive detection linuxpegasus Linux - Hardware 1 05-18-2007 07:41 PM
Many distros not recognizing my Sony SATA DVD drive salah-ad-din Linux - Hardware 2 09-26-2006 04:30 PM
Cannot boot from sata dvd drive to install os babysparrow Linux - Hardware 4 08-25-2006 07:44 AM
how do i install onto SATA hard drive, when all precompiled kernels won't boot edman007 Slackware 5 01-13-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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