doobiest
October 6th, 2009, 01:18 AM
Hi, I just tried to do an upgrade from hardy to intrepid today and X crashed half way through the process.
using dpkg/apt I was able to clean up the garbage and continue on upgrading the packages. I am able manually get my way into an X desktop and the system reports as intrepid now. There was a lot of broken stuff I had to fix, all looks good now except when I start linux it failed to mount my root partition as rw, stays in read only.
I've messed with my fstabs/grub menu and ran some commands for update-initramfs as suggested on some old posts on here. and it still doesnt work.
Unfortunately I cannot past what I'm seeing on screen as I don't see that logged anywhere. but to summarize, when grub chooses to load ubuntu, a few init lines appear, and then it outputs what you would see in mount --help.
Essentially it looks like the mount command, which would normally take the root partition from ro to rw is failing. It makes me believe something is syntactically incorrect, since it's printing the --help output.
Here's my fstab and grub. Can anyone tell me what's wrong and maybe tell me how to force update-manager to redo a dist upgrade to intrepid?
Also I've tried replacing the UUID's with /dev/sda2 just to see if that would work.
One more odd thing to note is when I choose ubuntu 8.10 recovery it does successfully mount the root as rw, and I don't see a difference between them.
Thanks.
FSTABS
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
#/dev/sda2 / ext3 relatime,errors=remount-ro 0 1
#/dev/sda2 / ext3 errors=remount-ro 0 1
/dev/sda2 / ext3 defaults,errors=remount-ro,relatime 0 1
# /dev/sda3
/dev/sda3 none swap sw 0 0
#/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
#/dev/sda1 /media/NTFS ntfs defaults
GRUB
default 0
timeout 10
splashimage (hd0,1)/boot/grub/splashimages/debian-moreblue-swirl.xpm.gz
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.24-24-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-24-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-24-generic
title Ubuntu 8.10, kernel 2.6.24-23-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-23-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-23-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, kernel 2.6.24-19-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-19-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.10, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
using dpkg/apt I was able to clean up the garbage and continue on upgrading the packages. I am able manually get my way into an X desktop and the system reports as intrepid now. There was a lot of broken stuff I had to fix, all looks good now except when I start linux it failed to mount my root partition as rw, stays in read only.
I've messed with my fstabs/grub menu and ran some commands for update-initramfs as suggested on some old posts on here. and it still doesnt work.
Unfortunately I cannot past what I'm seeing on screen as I don't see that logged anywhere. but to summarize, when grub chooses to load ubuntu, a few init lines appear, and then it outputs what you would see in mount --help.
Essentially it looks like the mount command, which would normally take the root partition from ro to rw is failing. It makes me believe something is syntactically incorrect, since it's printing the --help output.
Here's my fstab and grub. Can anyone tell me what's wrong and maybe tell me how to force update-manager to redo a dist upgrade to intrepid?
Also I've tried replacing the UUID's with /dev/sda2 just to see if that would work.
One more odd thing to note is when I choose ubuntu 8.10 recovery it does successfully mount the root as rw, and I don't see a difference between them.
Thanks.
FSTABS
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
#/dev/sda2 / ext3 relatime,errors=remount-ro 0 1
#/dev/sda2 / ext3 errors=remount-ro 0 1
/dev/sda2 / ext3 defaults,errors=remount-ro,relatime 0 1
# /dev/sda3
/dev/sda3 none swap sw 0 0
#/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
#/dev/sda1 /media/NTFS ntfs defaults
GRUB
default 0
timeout 10
splashimage (hd0,1)/boot/grub/splashimages/debian-moreblue-swirl.xpm.gz
title Ubuntu 8.10, kernel 2.6.27-14-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.27-14-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-14-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.27-14-generic
title Ubuntu 8.10, kernel 2.6.24-24-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-24-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-24-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-24-generic
title Ubuntu 8.10, kernel 2.6.24-23-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-23-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-23-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-23-generic
title Ubuntu 8.10, kernel 2.6.24-21-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-21-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-21-generic
title Ubuntu 8.10, kernel 2.6.24-19-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.10, kernel 2.6.24-19-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a7c65cf3-42ff-4af3-affc-cfec79f3ae92 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.10, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1