I changed the grub boot command line from
linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb1 ...
to
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=3343342

(got the UUID from the blkid command)

and now it works.
I did 3 tries and got a different /dev/sdX  name for the ubuntu host partition, 
so I guess it works.

So the question is, why was it not set to UUID in the first place?

** Description changed:

  Using wubi rev 197 I installed Ubuntu 10.10 from Windows XP.
  
  Hard drives and partitions:
  2 hard drives (one PATA 160GB, one SATA 500GB)
  disk 0 (PATA): Primary partition C: , NTFS, over the entire disk
  disk 1 (SATA): Primary partition E: , NTFS , 450 GB, the rest is unpartitioned
  
  Windows XP installed on C:
  
  Steps:
-  - downloaded wubi 197
-  - installed Ubuntu 10.10 on disk D:
-  - reboot into Ubuntu
-  - the installation is finished
-  - another reboot into ubuntu
+  - downloaded wubi 197
+  - installed Ubuntu 10.10 on disk E:
+  - reboot into Ubuntu
+  - the installation is finished
+  - another reboot into ubuntu
  ...
  
  Then I did an update ( apt-get upgrade) and after that I got the
  "/host/ubuntu/disks/root.disk missing" message on each boot and dropping
  to shell.
  
- It turns out the grub configuration changed from 
+ It turns out the grub configuration changed from
  set root='(hd1,msdos1)'
  to
  set root='(hd0,msdos1)'
  
- and 
+ and
  linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb1 ...
  to
  linux /boot/vmlinuz-2.6.35-22-generic root=/dev/sda1 ...
  
  As the same error is printed for unclean NTFS (see bug 226622) and that
  Ubuntu leaves the NTFS partionion in unclean state after each shutdown
  (bug 733816), I first thought this is an issue with unclean FS...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/738297

Title:
  update-grub sets root= non-deterministic device

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to