I just had another idea. Remove the boot flag from your USB device.
First make sure the USB disk is plugged in ... but it has to be unmounted. Type mount to see if it's mounted and if so, unmount it:
Code:
tony@monarch:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdd1 on /media/ext4disk type ext4 (rw,nosuid,nodev,uhelper=udisks)
tony@monarch:~$ umount /dev/sdd1
Switch over to root and let's see if the boot flag is on for that partition we just unmounted:
Code:
root@monarch:~# parted /dev/sdd print
Model: PNY USB 2.0 FD (scsi)
Disk /dev/sdd: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 16.0GB 16.0GB primary ext4 boot
Now we turn the boot flag off:
Code:
parted /dev/sdd set 1 boot off
Print out the partition table again and we should see that the boot flag is off:
Code:
root@monarch:~# parted /dev/sdd print
Model: PNY USB 2.0 FD (scsi)
Disk /dev/sdd: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 16.0GB 16.0GB primary ext4
Now reboot your system and see if it still hangs when the USB drive is plugged in.
If you would rather do this from a GUI then I recommend installing gparted ... right click on the device and click 'manage flags'.