LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-24-2007, 02:32 PM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Can't boot from new SATA drive.


I recently bought a 500GB SATA drive, and I realized after I bought it that my motherboard doesn't have SATA built in.

I went out and bought a PCI SATA card, and it's working perfectly fine, but I have to put my bootable Debian install on to an old, noisy, 10GB IDE drive.

I had tried doing an install to the SATA drive, and it worked, I just wasn't able to boot from it. When I restarted the computer after the install, I just got a black screen with "Cannot find bootable disk." in the top corner.

After I got a working install on the IDE drive, I noticed the dpkg configuration for Grub saw I had another bootable kernel on the SATA drive. However, when I try to boot from the SATA drive through Grub, I get some gobbledeegook about not being able to boot from the volume, and pressing any key takes me back to the Grub bootloader.

(I apologize for not being able to be more concise with the information, but I'm at work right now, and the computer in question is at home; I'll provide more info once I'm home.)

Once I'm booted into the Debian install on the IDE drive, I can access the SATA drive, without a problem.

I asked a co-worker about this, and they suggested that because my motherboard didn't have built-in SATA plugs, I may need to upgrade by BIOS. (Again, more short-and-curlies on my BIOS when I get home.)

Do I need to upgrade the BIOS to allow it to boot from the SATA drive? The only reason I'm concerned is because that IDE drive is hella noisy, and it's definitely on its last legs.
 
Old 12-24-2007, 06:16 PM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 18/ TC64
Posts: 5,304

Rep: Reputation: Disabled
altho you have posted in hardware....it may be that Debian use a module for sata....a distro "should" work in theory if sata is compiled into the kernel.....you can check by looking at your
/boot/config and in particular see if your card is mentioned as a Y for yes or m for module.

2) if you have a live cd, see if that boots.

3) you can also search the HCL....its on the right hand menu ...if you know the name of your pci card
 
Old 12-24-2007, 07:55 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by indienick View Post
I recently bought a 500GB SATA drive, and I realized after I bought it that my motherboard doesn't have SATA built in.

I went out and bought a PCI SATA card, and it's working perfectly fine, but I have to put my bootable Debian install on to an old, noisy, 10GB IDE drive.

I had tried doing an install to the SATA drive, and it worked, I just wasn't able to boot from it. When I restarted the computer after the install, I just got a black screen with "Cannot find bootable disk." in the top corner.

After I got a working install on the IDE drive, I noticed the dpkg configuration for Grub saw I had another bootable kernel on the SATA drive. However, when I try to boot from the SATA drive through Grub, I get some gobbledeegook about not being able to boot from the volume, and pressing any key takes me back to the Grub bootloader.

(I apologize for not being able to be more concise with the information, but I'm at work right now, and the computer in question is at home; I'll provide more info once I'm home.)

Once I'm booted into the Debian install on the IDE drive, I can access the SATA drive, without a problem.

I asked a co-worker about this, and they suggested that because my motherboard didn't have built-in SATA plugs, I may need to upgrade by BIOS. (Again, more short-and-curlies on my BIOS when I get home.)

Do I need to upgrade the BIOS to allow it to boot from the SATA drive? The only reason I'm concerned is because that IDE drive is hella noisy, and it's definitely on its last legs.
Your problem is strictly a BIOS problem. You only need the BIOS hard drive access during boot. After boot is complete the BIOS is irrelevant. Upgrading the BIOS is one solution to the problem.

Another option is to make a /boot partition on the IDE drive. Put the rest of Debian on the SATA drive. This does not get rid of the IDE drive completely.

The solution that I recommend is to make a grub boot floppy. Here is a description of how to make a grub boot floppy. In the description the author refers to /etc/grub.conf. Debian uses /boot/grub/menu.lst instead of /etc/grub.conf. You probably have a /boot/grub/menu.lst on both the IDE and the SATA drives. You should use the /boot/grub/menu.lst on your SATA drive.

http://www.linux-sxs.org/administration/grubflop.html

Once you get the boot floppy set up correctly you should be able to boot the floppy which will then boot the SATA drive. You won't need the IDE drive at all.

--------------------------
Steve Stites
 
  


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
sata drive does not boot edgjerp Linux - Hardware 1 10-08-2007 06:07 PM
using GRUB 1.5 with boot on sata-drive and system on usb drive(ipod photo) Scorp-D Linux - Laptop and Netbook 1 03-16-2007 03:34 AM
Can't boot opensuse 10.0 on SATA drive broxtor SUSE / openSUSE 17 03-02-2006 01:03 PM
Can't boot from a SATA hard drive? christopher5 SUSE / openSUSE 2 06-27-2005 10:55 AM
Dual boot with sata drive Mustang1994 Linux - Newbie 7 05-26-2004 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration