How to make a UUID for a new hard drive

Craig Hagerman craighagerman at gmail.com
Mon Apr 23 06:56:11 UTC 2007


Thanks for the information about how to correctly use tune2fs Matthew
and Steven.


On 4/23/07, Rashkae <ubuntu at tigershaunt.com> wrote:
>
> How did you create that filesystem in the first place?  Normally, the
> UUID would be randomly created when you create the file system, but
> according to tune2fs, this one has no volume UUID, was never mounted,
> but the journal needs recovery?
>

This disc was a huge pain in the butt. I already have one ATA drive in
the machine (Ubuntu root, Windows partition) and two SATA drives. My
motherboard (ASUS A8V delux) has two SATA controlers, each with two
ports. The existing drives were plugged into different controllers.
Sometime in the past I think I had a couple SATA drives plugged into
the same controller - no reason for the change. I bought a new Western
Digital 500 GB SATA and plugged it into one of the remaining ports
(top controller - whatever that is). When I restarted Ubuntu it wasn't
recognised. I tried it with a live CD of Ubuntu, Windows XP and
Partition Magic - nothing worked. I then disconnected the other two
SATA drives - plugged it into the other port on the same controller
(ie where an old disc has been) and tried it all again. Still no luck.
Then I plugged it into a port on the other controller (bottom). If I
remember correctly it didn't show up in Ubuntu, but it DID in
Partition Magic CD (Windows program). So THAT is how I formatted it
(for ext3). After that I plugged the old SATA drives back where they
were before, kept the new on on the bottom controller and everything
showed up just fine in Ubuntu.

I have never had any problems like this with setting up a new hard
drive before. I don't know what or why it happened like this. I
suspect that maybe the top controller can only be set up as RAID or
something like that.

> If you have no data on this partition, maybe it would be best to just
> re-create the filesystem
>

Now that you point that stuff out I guess so. I will use use cfdisc to
re-create the filesystem and see if I get a UUID out of that.

Thanks for your feedback

Craig




More information about the ubuntu-users mailing list