Ubuntu 10.4 LTS SATA / IDE issue

Discussions about using Linux guests in VirtualBox.
Post Reply
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Ubuntu 10.4 LTS SATA / IDE issue

Post by andyp73 »

I think I may just be being dim but I have a problem with the disk subsystem under VirtualBox 3.2.0 with a Ubuntu 10.4 LTS guest running on a Windows 7 32bit host.

The system was originally installed as Ubuntu 9.10 and had two dynamic disks that were mounted to the SATA controller in VirtualBox 3.1.8. I then updated the Ubuntu installation to 10.4 and VirtualBox to 3.2.0 and now it will only boot the guest if the drives are connected to IDE controllers not the SATA controller. When they are connected to the SATA controller Grub complains that it can't find the root partition by UUID.

I thought there was some info on the boards about how to convert a Linux guest from IDE to SATA but can't seem to find it again.

As I say, may just be me being dim and missing something obvious but any pointers in the right direction that will save me having to do a reinstall would be much appreciated.

Thanks.

A.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 10.4 LTS SATA / IDE issue

Post by Perryg »

I moved and update from Ubuntu 9.10 to 10.04 and did not have this problem both on 32 and 64 bit. Windows host and Ubuntu host.
Normally you don't need to do anything you just switch it in the settings and Ubuntu sees this and reacts.
Look at your Gurb2 and see if you can post the information here so we can tell what might be happening. You did not edit grub did you?
You might also look at the settings and try toggling the use host I/O cache and see if that helps, but it really should not cause it to not see the root partition.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Ubuntu 10.4 LTS SATA / IDE issue

Post by andyp73 »

Irrespective of the setting of "Use I/O Host Cache" then I get the same result. After a while the following output:

Gave up waiting for root device. Common problems:0f106d71e58
...
ALERT! /dev/disk/by-uuid/f41d6290-6d4e-4b99-a01b-18a5ef5f85f5 does not exist. Dropping to a shell!

/boot/grub/menu.lst and /etc/fstab are attached.

Regards,

A.
Attachments
menu_lst.txt
/boot/grub/menu.lst
(5.38 KiB) Downloaded 38 times
fstab.txt
/etc/fstab
(1.21 KiB) Downloaded 27 times
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Ubuntu 10.4 LTS SATA / IDE issue

Post by baf »

This is an ubuntu bug.

Add ahci to /etc/initramfs-tools/modules then run
mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
to regenerate your initrd. Cross fingers, reboot.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Ubuntu 10.4 LTS SATA / IDE issue

Post by andyp73 »

baf wrote:Add ahci to /etc/initramfs-tools/modules then run
mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
to regenerate your initrd. Cross fingers, reboot.
Thanks for the suggestion but it hasn't improved the situation any.

uname -r returns "2.6.32-22-generic-pae" and the new /boot/initrd.img-2.6.32-22-generic-pae file has been created but it is about 50% of the size of the initrd.img-2.6.32-22-generic and initrd.img-2.6.28-15-generic files that are also in the /boot directory.

A.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Post Reply