*solved* Hosed file system (in separate /home?)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

*solved* Hosed file system (in separate /home?)

Postby Tony G on Sun Apr 20, 2008 12:04 am

I have Mint Darnya KDE installed as a dual-boot with Windows XP. Partitions are hda1 (ntfs: Windows XP system files); hda2 (ext3: Mint KDE). hda3 (extended); hda4 (ext3: for experimenting with other distros); hda5(swap); hda6 (ext3: separate /home for Mint); hda7 (ntfs: Windows documents).

I installed PCLOS 2007 to hda4 (the first distro I've experimented with with this partitioning scheme). Now, when I boot Mint, I get the following errors:

Checking file systems. . .
fsck 1.40.2 (12-Jul-2077)
/dev/hda6: clean, 2526/767040 files, 102154/1536199 blocks
fsck.ext3: Unable to resolve 'UUID=[a bunch of numbers and letters]'
fsck died with exit status 8
[fail]

File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually.

What to do?

And if it's a reinstall of Mint:

1--What's the right way to do this given the extant separate /home?
2--How do I insure against losing the information I have in Kontact?

I feel like a bonehead, but (and?) I don't know where I went wrong.

Thanks,

Anthony
Last edited by Tony G on Sun Apr 20, 2008 3:13 pm, edited 1 time in total.
"The greatest enemy of a good plan is the dream of a perfect plan."

--Carl von Clausewitz
User avatar
Tony G
Level 3
Level 3
 
Posts: 178
Joined: Wed Jan 16, 2008 9:36 pm
Location: Laramie, WY, US

Linux Mint is funded by ads and donations.
 

Re: Hosed file system (in separate /home?)

Postby Fred on Sun Apr 20, 2008 1:58 am

Tony G,

You have discovered UUID hell! lol But fear not it isn't fatal. :-)

Anytime you repartition or reformat a partition you change the UUID number. Now the Mint /etc/fstab file has the wrong UUIDs in it.

First let me ask, do you have a working install on the computer Mint is on? And if you do tell me what drive and partition the Mint / (root) is on.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Hosed file system (in separate /home?)

Postby Tony G on Sun Apr 20, 2008 10:32 am

UUID hell, you say? I wonder if it relates to this KDE bug (I only wonder because when I added PCLOS to the computer when it had XP & Mint [Gnome], I got much less grief, and because I've already tried changing PCLOS's UUIDs to Mint's).

But to answer your question, Mint KDE's root is on hda2. (If I didn't answer your question, let me know what more info you need. Oddly, despite the error, all 3 OSs will boot, and I have a GParted CD handy).

Thanks so much,

Anthony
"The greatest enemy of a good plan is the dream of a perfect plan."

--Carl von Clausewitz
User avatar
Tony G
Level 3
Level 3
 
Posts: 178
Joined: Wed Jan 16, 2008 9:36 pm
Location: Laramie, WY, US

Re: Hosed file system (in separate /home?)

Postby Tony G on Sun Apr 20, 2008 11:55 am

For what it's worth, /etc/fstab on hda2 reads:

proc /proc proc defaults 0 0
# Entry for /dev/hda2 :
UUID=8b99549b-51f9-4110-8002-e948d0e3da67 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/hda6 :
UUID=af8f4195-36e8-4a8e-a128-f89190109b3b /home ext3 defaults 0 2
# Entry for /dev/hda1 :
UUID=5A18A76D18A746BB /media/hda1 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# Entry for /dev/hda4 :
UUID=7276648c-2cf6-48fe-8763-335c9fc6d418 /media/hda4 ext3 defaults 0 2
# Entry for /dev/hda7 :
UUID=21096D840F19FC7C /media/hda7 ntfs-3g defaults,locale=en_US.UTF-8 0 1
# Entry for /dev/hda5 :
UUID=ed801a2f-7258-496f-ab08-46a9494aa9a4 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0

Though that's Greek to me, for now.

Thanks,

Anthony
"The greatest enemy of a good plan is the dream of a perfect plan."

--Carl von Clausewitz
User avatar
Tony G
Level 3
Level 3
 
Posts: 178
Joined: Wed Jan 16, 2008 9:36 pm
Location: Laramie, WY, US

Re: Hosed file system (in separate /home?)

Postby Fred on Sun Apr 20, 2008 12:16 pm

Tony G,

I am assuming your working distro is PCLOS. Boot it, type "kdesu kate" in the run dialog, and navigate to the hda2 partition, it may be called sda2. This should be the Mint / (root). Open the file called /etc/fstab. In that file you will see your auto mounting lines. they should look something like this:

# /dev/sda3
UUID=ef909b66-06ba-4509-93fd-3e5c4a875a30 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda6
UUID=179531d8-4df6-494c-91f2-e0295be69b04 /home/denise/Backup ext3 defaults 0 2

Some or all the UUID number are incorrect. In a terminal type:

sudo vol_id -u /dev/sdxx

Substituting the appropriate drive and partition designator for sdxx. Do this for each partition listed and change the UUID in the fstab to the correct ones you just calculated.

Save and exit. Reboot and Mint should come up fine again, unless one of us made a mistake.:-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: *solved* Hosed file system (in separate /home?)

Postby Tony G on Sun Apr 20, 2008 3:15 pm

That did it. Oddly (to me, at least), it was the UUIDs of the PCLOS partition and the swap partition.

Thanks so much!

Anthony
"The greatest enemy of a good plan is the dream of a perfect plan."

--Carl von Clausewitz
User avatar
Tony G
Level 3
Level 3
 
Posts: 178
Joined: Wed Jan 16, 2008 9:36 pm
Location: Laramie, WY, US


Return to Installation & Boot

Who is online

Users browsing this forum: Frankus333, paul59 and 11 guests