You are not logged in.

#1 2007-07-08 07:15:56

jose1711
Member
Registered: 2006-07-08
Posts: 144

Persistent device naming - cannot mount root as rw

hello people,

i started using persistent block device naming but quickly realized i can only use it for non-root (/) partitions in fstab otherwise it will only get mounted as readonly and my system (arch current) will cease to boot.

# this line only mounts fs as ro
#/dev/disk/by-uuid/d02a0ef4-8cb3-460c-a48a-471f2798e4ad / ext3 default 0 1
# i get stuck while mounting fs as ro when using this line 
#UUID=d02a0ef4-8cb3-460c-a48a-471f2798e4ad / ext3 default 0 1
# so i have to use the old format (non persistent device naming)
/dev/sda6 / ext3 defaults 0 1
# the other partitions (same disk) work just fine
/dev/disk/by-uuid/cc295f7d-3927-433d-bcc0-2d2267e0d672 /home ext3 defaults 0 1
/dev/disk/by-uuid/936823be-b9bb-4a9d-a4e4-b4d62972f0af swap swap defaults 0 0
/dev/disk/by-uuid/E8A04533A0450A10 /mnt/win-c ntfs-3g locale=sk_SK.utf8,nls=utf8,users 0 0

snippet from menu.lst:

kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/d02a0ef4-8cb3-460c-a48a-471f2798e4ad ro
initrd /boot/kernel26.img

does anyone have an idea what may be causing this?

thanks.

jozef

Offline

#2 2007-07-08 09:17:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Persistent device naming - cannot mount root as rw

Both of the UUID fstab lines for your root filesystem have 'default' instead of 'defaults'. Is that intentional, or is it a typo in your post?.

I don't know offhand whether 'default' is even a valid option, or what effect it would have if it is.

Offline

#3 2007-07-08 10:30:52

jose1711
Member
Registered: 2006-07-08
Posts: 144

Re: Persistent device naming - cannot mount root as rw

dummie me... you made my day! cheers mate, jose

Offline

Board footer

Powered by FluxBB