(Almost fullquote for Marcus) On 16.10.2011 20:55, Stephan Kulow wrote:
Am Sonntag, 16. Oktober 2011, 15:06:34 schrieb Stefan Seyfried:
Hi all,
when putting the Live CD iso onto an USB stick and then booting from that, I can often after an unclean shutdown (which is common with GNOME3 / systemd) no longer boot. Either the mounting of the overlay fails ("/sbin/init not found" from KIWI, on a toughbook with intel i855GM graphics) or the system panics (kbd lights blinking, no debugging possible) after (trying to?) mounting the overlay (on a compaq nc6000, radeon mobility 9600 / RV350 graphics). Hmm, I put great effort into making this more robust, but I might have to try harder.
If I later put that USB stick into a running Factory system, I get an error from whoever is trying to mount that stick in XFCE telling me that "partition sdb4 cannot be mounted".
So my request / question is:
Would it be possible to put a "erase data partition" entry into the gfxboot on live media?
Talk with Marcus, the kiwi maintainer - I'm not sure he reads this list. Problem of course is that this only makes sense on USB sticks, but the gfxboot menu would be the same for livecds.
Actually the gfxboot part would not be that important to me.
So preferably the menu would be hidden if it's running from CD.
I'm not sure it is possible to decide this (CD or USB stick) from within gfxboot.
But first we'd need to have the code to support the option - even if it's hidden yet.
Or is there a secret "reset_to_factory" boot parameter which is undocumentend?
Nope.
OK, so something like a "nopersist" or "readonly" option that does not try to mount the data partition of the live stick would be useful. I can then kill or repair that partition from the booted live stick. Right now the stick is broken for me after an unclean shutdown. Even "init=/bin/sh" does not work.
Right now, I have to use another computer to drop partition 4 of the stick, which is not good if the stick should be used as rescue medium... ;-)
Hmm, it shouldn't use another partion but a file in that partition. Removing that will do.
It creates partition 4 on the stick which contains a clicfs. At least it seems so: susi:/dev/shm # fdisk -l /dev/sdc Disk /dev/sdc: 1992 MB, 1992294400 bytes 64 heads, 32 sectors/track, 1900 cylinders, total 3891200 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xef92276b Device Boot Start End Blocks Id System /dev/sdc1 * 0 1366015 683008 83 Linux /dev/sdc4 1366016 3891199 1262592 83 Linux susi:/dev/shm # dd if=/dev/sdc4 count=1 2>/dev/null| hexdump -C|head -1 00000000 43 4c 49 43 43 4f 57 30 32 00 00 9e e6 00 00 00 |CLICCOW02.......| Best regards, seife -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org