Disk Issues
Derek Broughton
news at pointerstop.ca
Wed Jul 11 14:21:17 UTC 2007
Larry Hartman wrote:
> I was correct.....this turned out to be a very basic issue. I ran parted
> from command line and it gave me a hint by naming the single harddrive as
> (sda). So I renamed my hda3 and hda4 to sda3 and sda4 in the fstab:
I was just going to suggest that. I'm perplexed that it can manage to name
two partitions as 'hd' and two as 'sd' on the same disk though!
>
> hda1 / ext3
> hda2 swap
> sda3 /home ext3
> sda4 /media/sda4 ext3
>
> Now all works normally....except I am left with a question as to why the
> kernel accepts hda1 and hda2 rather than sda1 and sda2? And should I
> change these to sda1/2, or will changing them cause me further
> complications?
You were on the right track when you suggested using the UUID in fstab.
This is how Ubuntu is setting up fstab by default now, specifically to
avoid the problem of changing hd <-> sd. You definitely don't want to be
trying to change the /dev/ names to something other than what's being
recognized now.
My best guess is that the root and swap partitions are being named by
something in the initrd image, but the other two are mounted later after
udev is active. Eventually, they'll all be on /dev/sda*, but for now you
have a problem.
>
> Who needs a virus when I am around?
:-)
--
derek
More information about the kubuntu-users
mailing list