[SOLVED] Suse by booting: Want me to fall back to /dev/sda2?

This is for discussing general topics about how to use VirtualBox.
Post Reply
waldauf
Posts: 3
Joined: 20. Jun 2013, 22:41

[SOLVED] Suse by booting: Want me to fall back to /dev/sda2?

Post by waldauf »

Hi all,

I convert image from VMDK to VDI. VMDK is booting without any problem. But during booting OpenSuse in VirtualBox I see this error:

Code: Select all

Want me to fall back to /dev/sda2? (Y/n)
I know this error was here mentioned many times but every topic what I found was about bad id-label or UUID. I tried to mount image partition and checked /boot/grub/menu.lst and /etc/fstab too. In both configuration is defined /dev/sda2. Nothing more:

/boot/grub/menu.lst:

Code: Select all

# Modified by YaST2. Last modification on Wed Mar 17 11:42:03 EDT 2010
default 2
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 11 - 2.6.27.45-0.1 (pae)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.27.45-0.1-pae root=/dev/sda2 resume=/dev/sda1 splash=silent crashkernel=128M-:64M@16M showopts vga=0x314
    initrd /boot/initrd-2.6.27.45-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 11 - 2.6.27.45-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.27.45-0.1-pae root=/dev/sda2 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
    initrd /boot/initrd-2.6.27.45-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: linux###
title Vmi -- SUSE Linux Enterprise Server 11 - 2.6.27.45-0.1
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.27.45-0.1-vmi root=/dev/sda2 resume=/dev/sda1 splash=silent crashkernel=128M-:64M@16M showopts vga=0x314
    initrd /boot/initrd-2.6.27.45-0.1-vmi

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (fd0)
    chainloader +1

/etc/fstab:

Code: Select all

/dev/sda1            swap                 swap       defaults              0 0
/dev/sda2            /                    ext3       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
# Beginning of the block added by the VMware software
.host:/                 /mnt/hgfs               vmhgfs  defaults,ttl=5     0 0
# End of the block added by the VMware software

Can you advice me how to fix this problem?


Thx,

Waldauf
Last edited by waldauf on 21. Jun 2013, 18:15, edited 1 time in total.
waldauf
Posts: 3
Joined: 20. Jun 2013, 22:41

Re: Suse by booting: Want me to fall back to /dev/sda2?

Post by waldauf »

This is full log of booting:

Code: Select all

usbcore: registered new device driver usb
ohci_hcd 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ohci_hcd 0000:00:06.0: OHCI Host COntroller
ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:06.0: irq 22, io mem 0xf0804000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNubmer=1
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.27.45-0.1-vmi ohci_hcd
usb usb1: SerialNumber: 0000:00:06.0
Boot logging started on /dev/tty1(/dev/console) at Fri Jun 21 09:22:35 2013
Trying manual resume from /dev/sda1
resume devide /dev/sda1 not found (ingonirng)
Trying manual resume from /dev/sda1
Waiting for device /dev/sda2 to appear: usb 1-1: new full speed USB device using ohci_hcd and address 2
usb usb1: New USB device found, idVendor=80ee, idProduct=0021
usb usb1: New USB device strings: Mfr=1, Product=3, SerialNubmer=0
usb usb1: Product: USB Tablet
usb usb1: Manufacturer: VirtualBox
usbcore: registered new interface driver hiddev
input: VirtualBox USB Tablet as  /device/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/input/input2 
input,hidraw0: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:06.0-1
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
...................................Could not find /dev/sda2.
Want me to fall back to /dev/sda2? (Y/n)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Suse by booting: Want me to fall back to /dev/sda2?

Post by mpack »

When you clone a disk then the UUIDs change - the formats (VMDK vs VDI etc) don't matter.

If your grub boot mounts a disk using its UUID then the grub script needs to be changed. Most find it easier to change it to address the disk by location (e.g. sda) so that cloning won't keep encountering this difficulty.
waldauf
Posts: 3
Joined: 20. Jun 2013, 22:41

Re: Suse by booting: Want me to fall back to /dev/sda2?

Post by waldauf »

mpack wrote:When you clone a disk then the UUIDs change - the formats (VMDK vs VDI etc) don't matter.

If your grub boot mounts a disk using its UUID then the grub script needs to be changed. Most find it easier to change it to address the disk by location (e.g. sda) so that cloning won't keep encountering this difficulty.
Thanks for your answer. Before a while I solved it. How I wrote I have everywhere only /dev/sdaX. I don't use id-label or UUID.

My solution:
1. mount LiveCD before OpenSuse
2. chroot into OpenSuse
3. run command "mkinitrd"
4. de-chroot and reboot system

Now I got stuck on this problem. Booting gets stuck on this error message:

Code: Select all

~
usb 1-1: Manufacturer: VirtualBox
mount: can't find /root/proc in /etc/fstab or /etc/mtab
INIT: version 2.86 booting
INIT: /etc/inittab[1]: id field too long (max 4 characters)
INIT: /etc/inittab[2]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[3]: id field too long (max 4 characters)
INIT: /etc/inittab[4]: rlevel field too long (max 11 characters) 
INIT: /etc/inittab[5]: id field too long (max 4 characters)
INIT: /etc/inittab[6]: id field too long (max 4 characters)
INIT: /etc/inittab[7]: id field too long (max 4 characters)
INIT: /etc/inittab[8]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[9]: id field too long (max 4 characters)
INIT: /etc/inittab[10]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[11]: id field too long (max 4 characters)
INIT: /etc/inittab[12]: id field too long (max 4 characters)
INIT: /etc/inittab[13]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[14]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[15]: id field too long (max 4 characters)
INIT: /etc/inittab[16]: id field too long (max 4 characters)
INIT: /etc/inittab[17]: id field too long (max 4 characters)
INIT: /etc/inittab[18]: id field too long (max 4 characters)
INIT: /etc/inittab[19]: id field too long (max 4 characters)
INIT: /etc/inittab[20]: rlevel field too long (max 11 characters)
INIT: /etc/inittab[21]: id field too long (max 4 characters)
INIT: /etc/inittab[22]: rlevel field too long (max 11 characters)
Enter runlevel:
For example I type 3:

Code: Select all

Enter runlevel: 3
INIT: Entering runlevel: 3
INIT: no more processes left in this runlevel
Post Reply