gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] Mounting/partitioning inside a VM


From: Stayvoid
Subject: Re: [gNewSense-users] Mounting/partitioning inside a VM
Date: Thu, 19 Apr 2012 03:21:43 +0400

Kim,

I use one disk with the following fstab:
proc /proc proc defaults 0 0
/dev/xvda / ext3 noatime,errors=remount-ro,nobarrier 1 2
/dev/xvdc none sw sw,nobarrier 0 0

I want to migrate to the several disks and this fstab:
proc /proc proc defaults 0 0
/dev/xvda / ext3 noatime,errors=remount-ro,nobarrier 0 1
/dev/xvdb /boot ext3 defaults,noatime 0 2
/dev/xvdc none swap sw 0 0
/dev/xvdd /home ext3 rw,nosuid,nodev,noexec,auto,nouser,async 0 2
/dev/xvde /var/tmp ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdf /tmp ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdg /var/mail ext3 defaults,nodev,nosuid,noexec 0 2
/dev/xvdh /var ext3 defaults,nodev,nosuid 0 2

I tried to plug in the disks and changed my fstab file, but then I got
the following errors:

Mounting local filesystems...mount: mount point /var/tmp does not exist
mount: mount point /var/mail does not exist
failed.
[...]
/etc/init.d/bootmisc.sh: 63: cannot create /var/run/utmp: Directory nonexistent
[...]
startpar: service(s) returned failure: bootmisc.sh ... failed!
[...]
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/run/motd: Directory nonexistent
/etc/init.d/bootlogs: 74: cannot create /var/log/dmesg: Directory nonexistent
chgrp: cannot access `/var/log/dmesg': No such file or directory
Starting enhanced syslogd: rsyslogdCan't open or create /var/run/rsyslogd.pid
Can't write pid
 already started.
Could not create file /var/lib/dbus/machine-id: No such file or directory

Starting periodic command scheduler: cron/var/spool/cron: No such file
or directory
/var/spool/cron: mkdir: No such file or directory
 failed!
[...]

I assume that some step is missing. Should I mount the disks while
using the old version of fstab, then reboot and change fstab
accordingly?

Cheers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]