How to repair a broken fstab in guest VM?

asked 2015-02-20 07:39:08 -0600

iffyshot gravatar image

updated 2015-02-20 18:21:56 -0600

smaffulli gravatar image

Hi All

I have a user who has broekn his FStab and his VM will not boot it just hangs at

Booting from hard disk......

There is also this in the action log

2015-02-20 13:19:17,038 -[WARNING]: Unhandled non-multipart userdata ''
The disk drive for /mnt/vbd1 is not ready yet or not present.
Continue to wait, or Press S to skip mounting or M for manual recovery

does anyone know how to break into this to change the fstab as I believe the boot process is moving past the Press S option before we see it in the console

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-20 20:15:18 -0600

ritesh nanda gravatar image

You can go to hypervsor where vm is, power off the vm mount vm disk using libguestfs or qemu-nbd and fix the fstab

edit flag offensive delete link more


thanks this worked great using qemu-nbd

iffyshot gravatar imageiffyshot ( 2015-03-02 09:07:28 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-02-20 07:39:08 -0600

Seen: 1,261 times

Last updated: Feb 20 '15