Wubi standalone install from tar.xz image: UNCONFIGURED FSTAB FOR BASE SYSTEM

Bug #857954 reported by bcbc on 2011-09-24
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wubi
Undecided
Unassigned

Bug Description

-------- Update ----------------------------
This bug was originally reported in 11.10 development testing. This is still an issue in 12.04: the /etc/fstab now has a swap.disk entry (although different to that of a normal wubi install from an ISO), but it still is missing the ' / ' root.disk entry

It seems like this issue is benign, but it's a little confusing.
----------------------------------------------

Wubi installed from wubi-r234.exe. It downloaded image i386.tar.xz.

There is no /etc/fstab file (or rather nothing in it)
bcbc@ubuntu:~/Downloads$ cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM

There is therefore no swap enabled either and the system performs sluggishly on a low spec computer. The /host/ubuntu/disks/swap.disk is not even formatted as swap.

cbc@ubuntu:~$ sudo swapon /host/ubuntu/disks/swap.disk
swapon: /host/ubuntu/disks/swap.disk: read swap header failed: Invalid argument
bcbc@ubuntu:~$ sudo mkswap /host/ubuntu/disks/swap.disk
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=ce397786-f0d5-425b-85da-0832527923e3
bcbc@ubuntu:~$ sudo swapon /host/ubuntu/disks/swap.disk
bcbc@ubuntu:~$ swapon -s
Filename Type Size Used Priority
/host/ubuntu/disks/swap.disk file 262140 120 -1

bcbc (bcbc) on 2011-09-24
summary: - 11.10 wubi i386.tar.xz No /etc/fstab
+ 11.10 wubi i386.tar.xz No /etc/fstab and no SWAP
bcbc (bcbc) on 2011-09-24
description: updated
description: updated
bcbc (bcbc) on 2011-09-28
tags: added: oneiric

Reinstalled today with amd64.tar.xz. The file system is still ext3.

There is now a swap and an entry in fstab, but it's different to other
releases:
/host/ubuntu/disks/swap.disk none swap sw 0 0

on older releases it looks like this:
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0

Also there's still no entry for /:
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
and proc:
proc /proc proc nodev,noexec,nosuid 0 0

bcbc (bcbc) wrote :

The mount output looks like this:
/dev/loop0 on / type ext3 (rw,commit=600,commit=600)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda3 on /host type fuseblk
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/bcbc/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=bcbc)

The first line is different (not just the ext3/4 bit) to that of older
releases and also the output from an 11.10 installed from the ISO.
e.g. /dev/loop0 on /type ext4 (rw,errors=remount-ro,commit-600)

PS on the 11.10 installed from ISO the swap entry in /etc/fstab is the same
as older releases with the "loop,sw" bit.

tags: added: iso-testing
bcbc (bcbc) on 2012-05-23
summary: - 11.10 wubi i386.tar.xz No /etc/fstab and no SWAP
+ Wubi standalone install from tar.xz image: UNCONFIGURED FSTAB FOR BASE
+ SYSTEM
description: updated
tags: added: 12.04 precise
bcbc (bcbc) on 2012-05-23
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers