Installing from USB disk fails: Can not mount /dev/loop1 on /cow

Bug #569730 reported by Roeland Schoukens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I have downloaded the .iso image of Ubuntu netbook remix 10.4 RC (ubuntu-10.04-rc-netbook-i386.iso), and created a bootable USB stick with usb-creator.exe on Windows XP.

When booting the stick, the boot menu appears, but after choosing to install or test, i get a busybox prompt. After the busybox splash screen an error is shown: "Can not mount /dev/loop1 on /cow". I have tested this on 2 computers, a netbook and a desktop PC.

Attached are caspar.log and dmesg.txt, created as described on https://wiki.ubuntu.com/DebuggingCasper . (note: when I created the logs, Windows on that computer was hibernated).

Tags: lucid usb
Revision history for this message
Roeland Schoukens (roelandschoukens) wrote :
Revision history for this message
Roeland Schoukens (roelandschoukens) wrote :
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

One of the smoking guns here is:

-----------------------
+ cowdevice=/dev/loop1
+ get_fstype /dev/loop1
+ local FSTYPE
+ local FSSIZE
+ fstype
+ eval FSTYPE=unknown FSSIZE=0
+ FSTYPE=unknown FSSIZE=0
+ [ unknown != unknown ]
+ /sbin/blkid -s TYPE -o value /dev/loop1
+ cow_fstype=
+ cow_mountopt=rw,noatime
+ mount -t -o rw,noatime /dev/loop1 /cow
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu10) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]

Mount a filesystem. Filesystem autodetection requires /proc be mounted.

Options:
---------------

so blkid has failed to get the type but it's still tried to pass that to mount -t

Dave

affects: ubuntu → casper (Ubuntu)
tags: added: lucid
Revision history for this message
Roeland Schoukens (roelandschoukens) wrote :

I downloaded the 10.4 release and used usb-creator-gtk (under ubuntu 9.10) to create a bootable USB disk. This one booted without problems. I used another device, so I am not sure if the USB stick was faulty, but I had successfully used it to install on another computer before.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

To me this looks like the get_fstype function in scripts/caspter_helpers just needs some error handling.

Even if it worked for you Roeland this time around, it seems to me that script should be fixed.

Dave

Revision history for this message
Brian Murray (brian-murray) wrote :

This may have something to do with the tool used to create the usb disk.

tags: added: usb
Changed in casper (Ubuntu):
importance: Undecided → Low
Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as invalid on casper's side, this has indeed to do with the tool used to make the media, it should have created an ext3/ext4 partition which it clearly didn't.

Changed in casper (Ubuntu):
status: New → Invalid
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.