You are not logged in.

#1 2009-06-15 08:05:26

amadlopes
Member
Registered: 2007-06-28
Posts: 35

[SOLVED] Can't boot after make image

I have a physical machine that work like my server yesterday i use clonezilla to backup the disk to make a virtual machine with it (convert the physical machine in virtual).
Everything worked ok until i try to boot the machine in virtualbox, now i have this error:

:: Loading root filesystem module...
Attempting to create root device '/dev/sda3'
ERROR: Failed to parse block device name for '/dev/sda3'
unknown
ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter.
Wating for devices to settle...done.

Root device '/dev/sda3' doesn't exist, attempting to create it
ERROR: Failed to parse block device name for '/dev/sda3'
ERROR: Unable to create/detect root device '/dev/sda3'
Dropping to a recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary, use 'echo *' instead

If the device '/dev/sda3' gets created while you are here,
try adding 'rootdelay≃8' or higher to the kernel command-line
ramfs$

I can boot fallback.

This is my fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
/dev/sda1 swap swap defaults 0 0
/dev/sda2 /home ext3 defaults 0 1

And this is my menu.lst:

# (0) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro 5 vga=795
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro 3
initrd /boot/kernel26.img

# (2) Arch Linux
title  Arch Linux Fallback
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro
initrd /boot/kernel26-fallback.img

Can you help me ?

Thasnks

Last edited by amadlopes (2009-06-15 09:32:38)

Offline

#2 2009-06-15 08:15:19

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: [SOLVED] Can't boot after make image

Thanks for posting the appropriate config files. wink

Your fstab has a swap partition and a /home partition, but no root partition! Certainly not good.

Something probably went wrong in the imaging process. It seems like your grub setup seems to think there should be a sda3 root partition there.

You can boot a livecd and run fdisk -l to see what partitions you have, but it looks like the root partition missed being copied properly.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#3 2009-06-15 08:22:50

amadlopes
Member
Registered: 2007-06-28
Posts: 35

Re: [SOLVED] Can't boot after make image

Statix wrote:

Thanks for posting the appropriate config files. wink

Your fstab has a swap partition and a /home partition, but no root partition! Certainly not good.

Something probably went wrong in the imaging process. It seems like your grub setup seems to think there should be a sda3 root partition there.

You can boot a livecd and run fdisk -l to see what partitions you have, but it looks like the root partition missed being copied properly.

Sorry my mistake, when i paste it:
The right one is :

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
/dev/sda1 swap swap defaults 0 0
/dev/sda2 /home ext3 defaults 0 1
/dev/sda3 / ext3 defaults 0 1

Offline

#4 2009-06-15 09:33:44

amadlopes
Member
Registered: 2007-06-28
Posts: 35

Re: [SOLVED] Can't boot after make image

I just reinstalled the kernel and everything went ok.

Thanks for everything.

Offline

Board footer

Powered by FluxBB