Advertisement

07.08.2008 at 05:46AM PDT, ID: 23546373
[x]
Attachment Details

Switch boot drive from SCSI to IDE

Asked by kamermans in Linux Administration, Linux Setup, Ubuntu

I have an Ubuntu 7.10 x86_64 linux box with a 15,000RPM SCSI drive as it's primary hard drive.  All the OS stuff is on it in Ubuntu style, 1 partition mounted on /.  This is a development machine and it sits under my desk, the problem is that the hard drive is super loud, and even with a 15,000RPM UDMA4 drive the speeds I'm getting are only slightly faster than IDE or SATA.  I am going to swith this drive out for either an IDE or SATA but I need to figure out how to do it with as little downtime as possible.  I am comfortable with cloning the drive (sda) to a new drive with g4l or clonezilla, but my question is, what if my dev name changes from sda to hda or sdb or something?  Do I only need to change it in /etc/fstab?  I'm using Grub as my bootloader so I took a look at /boot/grub/menu.lst and here's what I see (minus the comments):

default         0
timeout         10
title           Ubuntu 7.10, kernel 2.6.22-14-server
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.22-14-server root=UUID=a8b9dc65-19ea-49e4-9f9f-26757f2d3521 ro quiet splash
initrd          /boot/initrd.img-2.6.22-14-server
quiet

title           Ubuntu 7.10, kernel 2.6.22-14-server (recovery mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.22-14-server root=UUID=a8b9dc65-19ea-49e4-9f9f-26757f2d3521 ro single
initrd          /boot/initrd.img-2.6.22-14-server

title           Ubuntu 7.10, memtest86+
root            (hd1,0)
kernel          /boot/memtest86+.bin
quiet

Everything looks fine as long as (hd1,0) is still correct.  I'm assuming the "0" means the first partition which would be fine, but how can I be sure what the "1" should be?  This computer has no other IDE/SATA/SCSI devices right now, so there shouldn't be a CDROM in it's place or anything.

Is hd(1,0) always the same device that the bootloader was pulled from?  Is it the boot device specified in the BIOS?  Who determines the order of hd(x,y) for the bootloader?Start Free Trial
[+][-]07.08.2008 at 06:40AM PDT, ID: 21953674

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Administration, Linux Setup, Ubuntu
Sign Up Now!
Solution Provided By: pointerstop
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.08.2008 at 06:43AM PDT, ID: 21953696

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 12:42PM PDT, ID: 21957424

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 05:40AM PDT, ID: 21972661

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628