[Bug 441278] New: Live CD system should also run from USB stick
https://bugzilla.novell.com/show_bug.cgi?id=441278 Summary: Live CD system should also run from USB stick Product: openSUSE 11.1 Version: Beta4 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Live Medium AssignedTo: coolo@novell.com ReportedBy: probono@myrealbox.com QAContact: qa@suse.de Found By: Beta-Customer As netbooks become fashionable, so does running Linux Live systems from USB sticks. While openSUSE offers infrastructure to create special Live images for USB sticks, there should be the possibility to take a regular Live CD, copy its contents to a FAT32-formatted USB stick, install syslinux, and run the Live system 1:1 from a USB stick. This is possible with Ubuntu, Fedora, and most other Live CDs out there. In fact, for both Fedora and Ubuntu there are GUI tools to convert a running Live CD into a Live USB system (without changing the compressed filesystem or initrd). e.g. http://en.wikipedia.org/wiki/Live_USB_system_creator The changes required to boot the openSUSE Live CD image from a USB stick are not big. Essentially, the following would need to be done: The following kernel modules should be part of the Live CD initrd by default: * nls_cp437.ko * nls_iso8859-1.ko * vfat.ko * fat.ko The function "CDDevice" in file "include" in the initrd of the Live CD should be slightly extended so that the main compressed filesystem is searched not only on IS9660 CD-ROMs, but also on VFAT partitions, e.g. on USB drives. See the following page for a hack that makes it possible to run the Live CD image from a USB stick. Clearly, this would have to be implemented in a cleaner way that does not break the Live CD functionality. http://klik.atekon.de/wiki/index.php/CustomizeSUSELive#Making_openSUSE_Live_... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com AssignedTo|coolo@novell.com |ms@novell.com --- Comment #1 from Stephan Kulow <coolo@novell.com> 2008-11-04 02:18:15 MST --- this would be a general kiwi change, I don't want to add yet another kiwi patch to the live config -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c2 --- Comment #2 from Marcus Schaefer <ms@novell.com> 2008-11-04 08:31:29 MST --- Attached is a patch which should fix this. Simon would you mind to test the patch according to your use case ? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c3 --- Comment #3 from Marcus Schaefer <ms@novell.com> 2008-11-04 08:33:17 MST --- Created an attachment (id=249681) --> (https://bugzilla.novell.com/attachment.cgi?id=249681) kiwi.diff don't forget to remove the .checksum.md5 files in /usr/share/kiwi/image/isoboot if you have applied the patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |probono@myrealbox.com Summary|Live CD system should also run from USB stick |kiwi: Live CD system should also run from USB | |stick -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c4 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|probono@myrealbox.com | Resolution| |FIXED --- Comment #4 from Marcus Schaefer <ms@novell.com> 2008-11-06 04:05:50 MST --- fixed in v3.00 at least on the stick I have tested this it worked feedback from the reporter still would be great -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c5 --- Comment #5 from Simon Peter <probono@myrealbox.com> 2008-11-06 04:23:01 MST --- Marcus, you made my day. Thanks so much for making this happen. Since I have no HD-installed system, please hint me to an ISO that is made using the patched version, then i'll happily test that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c6 --- Comment #6 from Marcus Schaefer <ms@novell.com> 2008-11-06 04:44:43 MST --- I will submit new kiwi packages today. As soon as the liveCD gets rebuild you can run the test. I'm not sure about the rebuild cycle of the liveCD at the moment I think that happens with every beta release but Coolo can tell us more I think If it does not work for you feel free to re-open this bug. It would be good to have the /var/log/boot.kiwi file in that case. When booting the system with the kiwidebug=1 kernel option you get a shell in case of an error which should allow you to store the information Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c7 Simon Peter <probono@myrealbox.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #7 from Simon Peter <probono@myrealbox.com> 2008-11-13 11:36:12 MST --- Unfortunately, booting from USB stick does not seem to work in openSUSE 11.1 Beta 5. The kernel modules are there (thanks for that!), but the CDDevices function doesn't seem recognize my USB drive. Apparently, it looks for a CD drive first. After a certain time, it then proceeds to look for a USB drive. But in my case, it appears to look at /dev/sdc while I don't even have 3 storage devices... Using my quick&dirty replacement for the CDDevices function posted in #1 above, it works fine though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c8 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |probono@myrealbox.com --- Comment #8 from Marcus Schaefer <ms@novell.com> 2008-11-14 13:41:35 MST --- *hrm* could you send the /var/log/boot.kiwi file: - boot with kiwidebug=1 - you should get a shell now. Copy the file on the stick and append it to this report could you do this, would be great thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c9 Simon Peter <probono@myrealbox.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|probono@myrealbox.com | --- Comment #9 from Simon Peter <probono@myrealbox.com> 2008-11-14 14:05:26 MST --- Appending /var/log/boot.kiwi Seems like it was looking on /dev/sdc Note that my USB stick in fact was /dev/sdb1 - I know this for sure since I mounted it in order to copy the log file there.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c10 --- Comment #10 from Simon Peter <probono@myrealbox.com> 2008-11-14 14:06:13 MST --- Created an attachment (id=252400) --> (https://bugzilla.novell.com/attachment.cgi?id=252400) boot.kiwi -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c11 --- Comment #11 from Simon Peter <probono@myrealbox.com> 2008-11-14 14:20:30 MST --- Actually, looking at the log some more it looks like kiwi is searching for "something" on the partitions... + probeFileSystem /dev/sdb1 + FSTYPE=unknown + dd if=/dev/sdb1 of=/tmp/filesystem-1 bs=128k count=1 1+0 records in 1+0 records out 131072 bytes (131 kB) copied, 0.0162488 s, 8.1 MB/s ++ file /tmp/filesystem-1 + data='/tmp/filesystem-1: x86 boot sector' My stick is FAT32 formatted. I realize that kiwi is looking for "something" which it seemingly can't find on my USB stick. Shouldn't that "something" be the presence of the file config.isoclient? Ideally, one would be able to specify something like live=LABEL=labelofmyusbstick as a boot option... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c12 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #12 from Marcus Schaefer <ms@novell.com> 2008-11-14 14:26:45 MST --- Ah, the USBStickDevice() function searches for /etc/ImageVersion which does not exist directly on the mounted medium. It should check for config.isoclient too. I will fix this. Thanks for the log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Enhancement |Normal Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c13 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Marcus Schaefer <ms@novell.com> 2008-11-17 08:29:49 MST --- check added, it should work now... next live iso's will be RC1 :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c14 --- Comment #14 from Stephan Kulow <coolo@novell.com> 2008-11-19 04:33:29 MST --- hmm, our live cds do not have a config.isoclient, but a config.kde.isoclient or config.gnome.isoclient - not per config but so I can use the live cds to create the promo dvd 1:1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User probono@myrealbox.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c15 --- Comment #15 from Simon Peter <probono@myrealbox.com> 2008-11-29 03:14:40 MST --- Working in RC1 (just had to rename config.gnome.isoclient to config.isoclient). Thank you very much. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c16 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gleichmann.andreas@arcor.de --- Comment #16 from Marcus Schaefer <ms@novell.com> 2008-12-02 04:25:59 MST --- *** Bug 450271 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=450271 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=441278 User ms@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=441278#c17 --- Comment #17 from Marcus Schaefer <ms@novell.com> 2008-12-02 04:28:59 MST --- *** Bug 450270 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=450270 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com