Hello,

I have a VPS at Slicehost. They support a number of Linux distros out
of the box, but they do not support Arch. After a bunch of reading, I
was able to get Arch installed successfully. Everything works fine
except for one problem. I believe it is specific to Arch (read below
for why). The root directory is mounted twice when the server boots:

root:~# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
none on /sys type sysfs (rw)
none on /proc type proc (rw)
udev on /dev type tmpfs (rw)
/dev/sda1 on /dev/.static/dev type ext3 (rw,data=ordered)
none on /dev type ramfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)

When I asked Slicehost about this problem, they responded:

"I think this may have something to do with the initrd used. The root
partition is mounted ro or the initial kernel boot and it needs to be
unmounted and remounted read-write.  I'm not sure where in the init
this step is buried, but that might be enough info to help you dig
some more."

Needless to say, that was no help to me at all. It might be to someone
more experienced.

I also discovered that "umount /dev/.static/dev" does work, but it
returns some errors in the process:

umount: /dev/sda1: not mounted
umount: /dev/.static/dev: not found
umount: /dev/sda1: not mounted
umount: /dev/.static/dev: not found

Also, it is still mounted twice internally (after the umount):

root:~# more /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw 0 0
/dev/sda1 / ext3 rw,noatime,data=ordered 0 0
/dev/sda1 /dev/.static/dev ext3 rw,data=ordered 0 0
none /dev ramfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0

Here is /etc/fstab:

none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 / ext3 defaults,noatime,errors=remount-ro 0 1
/dev/sda2 none swap defaults,sw 0 0

I based part of the procedure I followed on someone who got Slackware
working on Slicehost. I contacted him and he said he didn't have any
problems at all, certainly not the double mount problem I have.

Some other info. This is an i686 version of Arch running on an x86_64
kernel (Slicehost uses Xen so I have no choice about the kernel or
bootloader used). I had the same problem with the x86_64 version of
Arch, but I needed to install the i686 version to run software that
only worked on a 32-bit install. The Slackware guy had the same type
of install and as I said above, had no problem.

I was wondering if someone might have any idea what is going on and
how I could fix it?

Many thanks!

Scott

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to