Fwd: [Lubuntu-admins] 15.04 - Installation Experience
Nio Wiklund
nio.wiklund at gmail.com
Wed Apr 29 08:54:57 UTC 2015
Den 2015-04-29 09:57, Nio Wiklund skrev:
> Den 2015-04-29 09:13, Nio Wiklund skrev:
>> Den 2015-04-28 21:26, Aere Greenway skrev:
>> ...
>>> Nio:
>>>
>>> The pendrive (USB drive) was created with unetbootin on Lubuntu 14.04
>>> (current). The version info (from Synaptic package manager) is:
>>> 585-2ubuntu1. I had 4000 megabytes of persistent space on it.
>>>
>>> I originally tried creating the USB drive using
>>>
>>> usb-creator-gtk
>>>
>>> but the USB drive it created did not boot, so (given the large number of
>>> times I've been 'burned' by that application), I vowed never to use it
>>> again.
>>>
>>> If the problem occurs shutting down the live USB system, what package
>>> would it be against?
>>>
>>> The problem appears to be easy to reproduce.
>>>
>>> Simply create a bootable USB drive using unetbootin from an ubuntu 15.04
>>> ISO, then boot to it, and use it to install a system. When shutting
>>> down the USB drive system, the problem will occur, and it will not boot
>>> after that.
>>>
>>> In fact, when I mount the drive on my system after that, it is mounted
>>> read-only.
>>>
>>
>> Hi Aere,
>>
>> The first attempt failed:
>>
>> Installed Unetbootin and copied the Lubuntu 15.04 desktop 32-bit iso
>> file into a live 14.04.2 LTS system.
>>
>> Made a new MSDOS partition table and a FAT32 partition in a Sandisk
>> Cruzer 4 GB drive. Tried with maximum available file for persistence.
>>
>> The installation proceeded without hiccups, but the installed system
>> does not work. I get into Busybox and it complains that /dev/loop0 can
>> not be mounted on //filesystem.squashfs: No such device :-(
>>
>> Best regards
>> Nio
>>
>
> The second attempt failed:
>
> I tried again with Unetbootin and a smaller file for persistence, 512
> MB. But it does not work. The USB install drive does not work, neither
> with nor without persistence activated.
>
> The third attempt failed:
>
> Still trying from a live Ubuntu 14.04.2 LTS system.
>
> Used the Startup Disk Creator (with a clean FAT32 partition, automounted
> after unplugging and replugging the USB pendrive).
>
> 1 GB file size for persistence.
>
> The installation proceeded without hiccups (it was slow to create the
> persistence file). But the installed system does not work because of the
> 'gfxboot.c32: not a COM32R image' bug. Sigh :-(
>
> Best regards
> Nio
>
The fourth attempt failed:
I tried with Unetbootin from my production system (Ubuntu 12.04.5 LTS),
but it failed with the same symptom.
-o-
The fifth attempt succeeded:
First I cleaned to pendrive to decrease the risk of 'gridlock'.
-----
sudo mkusb-nox wipe-whole-device
[sudo] password for nio:
Wipe the whole device ... :
Do you want to wipe a mass storage device (typically USB drive)? (y/n)
y
*** WARNING: the device will be completely overwritten ***
*** quit with (q) ***
*** Unmount the device if mounted ****************************
Name: ata-SAMSUNG_HD322HJ Dev: /dev/sda Size: 320GB
Name: ata-OCZ-AGILITY3 Dev: /dev/sdb Size: 60GB
Name: ata-WDC_WD1003FBYZ-010FB0 Dev: /dev/sdc Size: 1000GB
Name: usb-SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
Live drive: /dev/sdb
---> 1: wipe device USB: SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
Go ahead with (g) or quit with (q). Toggle USB-only with (u).
y
---> 1: wipe device USB: SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
Go ahead with (g) or quit with (q). Toggle USB-only with (u).
g
1: wipe device USB: SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
FINAL WARNING
Do you really want to wipe and install to this device? (y/n)
y
Wiping the whole device /dev/sdd ...
< /dev/zero pv | dd bs=4096 of=/dev/sdd
Please wait for sync (flushing file system buffers to the device)
until 'Done' is written ...
dd: writing `/dev/sdd': No space left on device <=>
]
3.73GB 0:13:45 [4.63MB/s] [ <=>
]
977665+0 records in
977664+0 records out
4004511744 bytes (4.0 GB) copied, 841.234 s, 4.8 MB/s
Syncing the device ...
Done, but you should also
check for the line 'dd: writing '/dev/sdd': No space left on device',
which means that the whole device is wiped. (Look a few lines above ^)
-----
I started to think that my iso file is bad,
b66f9a0a87289be57cb3eb84f153c01d vivid-desktop-i386.iso
But it is good and I used mkusb-nox to flash it into the pendrive:
sudo mkusb-nox /media/multimed-2/test/lubuntu/vivid-desktop-i386.iso
[sudo] password for nio:
The iso file SHOULD BE loop mounted on a temporary file READ-ONLY:
WARNING: All config files need .conf: /etc/modprobe.d/bluez, it will be
ignored in a future release.
mount: block device
/media/multimed-2/test/lubuntu/vivid-desktop-i386.iso is
write-protected, mounting read-only
disk_name_type=desktop
Lubuntu 15.04 "Vivid Vervet" - Release i386 _found_ in iso-file
Lubuntu 15.04 "Vivid Vervet" - Release i386 _not_ in USB device
Do you want to make a new one? (y/n)
y
*** WARNING: the device will be completely overwritten ***
*** quit with (q) ***
*** Unmount the device if mounted ****************************
Name: ata-SAMSUNG_HD322HJ Dev: /dev/sda Size: 320GB
Name: ata-OCZ-AGILITY3 Dev: /dev/sdb Size: 60GB
Name: ata-WDC_WD1003FBYZ-010FB0 Dev: /dev/sdc Size: 1000GB
Name: usb-SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
Live drive: /dev/sdb
---> 1: install to USB: SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
Go ahead with (g) or quit with (q). Toggle USB-only with (u).
g
1: source: vivid-desktop-i386.iso
target: USB: SanDisk_Cruzer_Blade Dev: /dev/sdd Size: 4005MB
FINAL WARNING
Do you really want to wipe and install to this device? (y/n)
y
Installing /media/multimed-2/test/lubuntu/vivid-desktop-i386.iso to
/dev/sdd ...
< "vivid-desktop-i386.iso" pv -s 729808896 | dd bs=4096 of=/dev/sdd
Please wait for sync (flushing file system buffers to the device)
until 'Done' is written ...
696MB 0:02:14 [5.18MB/s]
[===========================================================>] 100%
178176+0 records in
178176+0 records out
729808896 bytes (730 MB) copied, 152.168 s, 4.8 MB/s
Syncing the device ...
Done :-)
-----
And the pendrive works as it should :-)
(Some of you might prefer the GUI of mkusb to the command line interface
of mkusb-nox. But the programs do the same things behind the curtain.)
-o-
I'll try again later to make a working pendrive with Lubuntu 15.04 using
Unetbootin and the Ubuntu Startup Disk Creator ...
Best regards
Nio
More information about the Lubuntu-users
mailing list