swap is incorrectly referred in /etc/fstab if install from USB sitck

Bug #669050 reported by Stas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

I installed fresh 10.10 from USB stick, during installation I choose manual disk partitioning and made 2 partitions:
/ and swap

During installation, my HDD was referred as /dev/sdb (obviously, USB drive was /dev/sda). After installation, system failed to mount swap because swap was set as /dev/sdb2 in /etc/fstab

:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=2f5c538b-02f8-4237-9e6f-4a016fee92af / ext4 errors=remount-ro 0 1
/dev/sdb2 none swap sw 0 0

Also HDD became /dev/sda (I removed flash drive).
"/" was mounted OK, because it was referred by its UUID.

Expected behavior:
Swap is set in /etc/fstab by its UUID during installation and is correctly mount during system boot, as this now works for "/" (see my fstab file)

This issue is USB stick installation related, if you install from CD then HDD drive will always(during install and during normal boot) be /dev/sda

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Sun Oct 31 12:46:10 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: ubiquity

Revision history for this message
Stas (ivaschenko-stas) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.