9.04 to 9.10 upgrade mount problem

Asked by ted

I have upgraded my 9.04 to 9.10 using the update function, but when I boot up, I now get the following errors -----
one or more of the mounts listed in /etc/fstab cannot yet be mounted:
(esc for recovery shell)
/: waiting for /dev/disk/by-uuid/2becea6bf-4576-451c-b778-bc0ffcb60212d /tmp: waiting for (null)
swap:waiting for UUID=949e92f7-a360-4de0-aa53-ee3fbe82cb49

how do I recover from this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu mime-support Edit question
Assignee:
No assignee Edit question
Solved by:
ted
Solved:
Last query:
Last reply:
Revision history for this message
Cristi Nistor (cristi-nistor) said :
#1

You have to check if is a modification in your /etc/fstab file regarding the swap partition. You have to log in recovery mode.

Run the command:

sudo blkid -c /dev/null

Check that the UUID for the swap partition in /etc/initramfs-tools/conf.d/resume is the same as the UUID for the swap partition you got from blkid. Edit the file if necessary.

After this run the command

sudo update-initramfs -u

Reboot.

Revision history for this message
ebvigmo (erik-vigmostad) said :
#2

I have a similar problem. I believe installation got interupted but monitor was in sleep mode and kb/mouse wouldn't bring it out. I SSHd into computer and it said REBOOT required so I assumed installation was complete. Last time I saw screen it was almost there and it was hours later.

I rebooted and got message similar to above. Now I get:

/:waiting for /dev/disk/by-l.............
/tmp: waiting for (null)
swap: waiting for UUID=952.................
/meda/disk1: waiting for /dev/sbd1

How can this be fixed?

Revision history for this message
ebvigmo (erik-vigmostad) said :
#3

I have a similar problem. I believe installation got interupted but monitor was in sleep mode and kb/mouse wouldn't bring it out. I SSHd into computer and it said REBOOT required so I assumed installation was complete. Last time I saw screen it was almost there and it was hours later.

I rebooted and got message similar to above. Now I get:

/:waiting for /dev/disk/by-l.............
/tmp: waiting for (null)
swap: waiting for UUID=952.................
/meda/disk1: waiting for /dev/sbd1

How can this be fixed?

Revision history for this message
ted (ted-96) said :
#4

Hi Cristi, I ran sudo blkid -c /dev/null

and get the following back

/dev/sdal1: UUID=''2becea6f-4576-451c-b778-bc0ffc60212d'' SEC_TYPE=''ext2'' TYPE=''ext3''

/dev/sda5: UUID=''949e92f7-a360-4de0-aa53-ee3fbe82cb49'' TYPE=''swap''

you talk about doing the following but I am unsure on how to do this:
Check that the UUID for the swap partition in /etc/initramfs-tools/conf.d/resume is the same as the UUID for the swap partition you got from blkid. Edit the file if necessary

Revision history for this message
ebvigmo (erik-vigmostad) said :
#5

ted
You can just:
cat /etc/initramfs-tools/conf.d/resume

Mine were the same so no help.

Revision history for this message
ted (ted-96) said :
#6

Ok, my UUID's are the same too.. I ran sudo sudo update-initramfs -u and got

ln: creating hard link ' /boot/initrd.img-2.6.28-16-generic.dpkg-bak' : Read-only file system
cp: cannot create regular file ' / boot/initrd.img-2.6.28-16-generic.dpkg-bak' :Read-only file system

I rebooted and still get the same problem:

One or more of the mounts listed in /etc/fstab cannot yet be mounted:
(esc for recovery shell)
/: waiting for /dev/disk/by-uuid/2becea6bf-4576-451c-b778-bc0ffcb60212d /tmp: waiting for (null)
swap:waiting for UUID=949e92f7-a360-4de0-aa53-ee3fbe82cb49

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#7

You can run the command:

sudo update-grub

If you receive at the output 'Read-only file system' you have to make your hard disk writable and you my try this:

sudo mount -o rw,remount /

or

sudo mount -o rw,remount /dev/sda3 (or whichever partition it is)

and then

sudo update-grub.

Revision history for this message
ebvigmo (erik-vigmostad) said :
#8

Wish I would have waited! I have now installed Ubuntu in a new partition. Don't know how to boot in to the failed one and try this. I'll see if there is a way though.

Revision history for this message
ted (ted-96) said :
#9

After doing...... sudo update-grub..... I did get 'Read-only system' I then tried both the other commands independantly followed with the sudo update-grub

it searched for GRUB installation directory and found....
found: /boot/grub
open: Read-only file system
root@talisker-laptop:~# (cursor flashing)

What must I do now to make my laptop reboot properly?

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#10

Which is the content of /etc/fstab ?

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#11

And if you try to boot with different kernels what is happening? Also you should have the 2.6.31-14 version for the kernel.

Revision history for this message
ted (ted-96) said :
#12

only kernel options I still have in my recovery window are:

2.6.28-16-generic
2.6.28-15-generic
2.6.28-14-generic
2.6.28-13-generic
2.6.28-11-generic

I get my startup ubuntu logo and then it always comes up with the one or more mounts listed in /etc/fstab cannot be yet be mounted error..

/: waiting for /dev/disk/by uuid/2becea6f-4576-451c-b778-bc0ffc60212d
/tmp:waiting for (null)
swap: waiting for UUID=949e92f7-a360-4de0-aa53-ee3fbe82cb49

I have now also downloaded the iso 9.10 CD, if I install this will I be able to recover my existing files on my laptop?

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#13

Yes, you should be able to recover you files on your computer. It seems that the last kernel version was somehow not configured well and thus you got that error messages. Maybe it will be better to save your data an reinstall the OS.

Good luck.

Revision history for this message
ted (ted-96) said :
#14

do i install the cd version 9.10 side by side the existing version 9.10 that is already there?

I dont want to lose some of my stored files already there and will I be able to retrieve my existing files from the new side by side install?

Revision history for this message
Cristi Nistor (cristi-nistor) said :
#15

You have first to save your data and after this you can install a fresh copy of U9.10.
Tell us if you can handle it.

Good luck.

Revision history for this message
ted (ted-96) said :
#16

I finaly managed to mount my drive and managed to continue the upgrade process....

Phew!! I am mega relieved...

Thanks for your help Cristi...

Ted

Revision history for this message
ebvigmo (erik-vigmostad) said :
#17

How did you get it to finish upgrade, etc.? I already wiped the disk and reinstalled OS, so its too late. But curious.

Revision history for this message
ted (ted-96) said :
#18

I went to an earlier GRUB version listed in my laptop on start up, then in Recovery Mode I used,

 sudo mount -o rw,remount

 and then

 sudo update-grub.

My mistake earlier was that I did not wait long enough for the process to kick in... it took about about 3 - 4 minutes before the process started before I could physically see the GRUB update working on my screen...

I guess "patience" is the keyword here :)

Revision history for this message
ebvigmo (erik-vigmostad) said :
#19

Thanks Ted. I think my problem with upgrade was I ran out of disk space! After trying several times to reinstall everything (first clean install Ubuntu then copy data from external USB) several times; adding a larger IDE drive (original was SATA), etc. I finally bought a larger SATA drive and almost have everything back to normal...