Page 1 of 5 123 ... LastLast
Results 1 to 10 of 50

Thread: Persistence and Live Opensuse 12.3 USB

  1. #1

    Default Persistence and Live Opensuse 12.3 USB

    Hi,

    I am trying to create a custom persistent Live OpenSUSE 12.3 USB system. Thanks to the SUSE studio service, I am able to create an iso of my custom system. I can easily create a live USB using the dd command, but I cannot find documentation/tutorial on how to make that system persistent. The section on persistent system in https://en.opensuse.org/SDB:Live_USB_stick is very short and specific but seems out of context of everything I have seen/read. For instance, it says
    To create a persistent file system on the usb stick give at the initial boot prompt the extra command

    kiwi_hybridpersistent=yes
    But I don't have any initial boot prompt as everything is GUI based in my *iso. I don't have any clue how to apply the recommendation.

    Any idea where can I find a detailed step-by-step method to create a persistent USB system.

    Thank you

    Sebastien

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: Persistence and Live Opensuse 12.3 USB

    On Mon, 08 Apr 2013 11:56:02 +0000, pomchip wrote:

    > Any idea where can I find a detailed step-by-step method to create a
    > persistent USB system.


    With SUSE Studio, I would be inclined to use the USB Stick/Hard disk
    image option instead of the ISO option. Then it'll be persistent.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3

    Default Re: Persistence and Live Opensuse 12.3 USB

    Hi Jim,

    I have tried that but I wasn't very successfully. After building a .iso (Live CD) and a .raw (USB Stick/Hard disk) file from the same appliance, the USB I got from the *.iso was bootable, the one I got from the *.raw file was not. In the latter case, the boot stopped at a "grub" shell.

    For both attempts, I used fdisk and made sure that the partition was bootable.

    Any idea?

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Persistence and Live Opensuse 12.3 USB

    On 2013-04-08 13:56, pomchip wrote:
    > But I don't have any initial boot prompt as everything is GUI based in
    > my *iso. I don't have any clue how to apply the recommendation.


    I don't know about susestudio, but in the standard openSUSE you do get a
    place to type if you press ESC at the start of the boot, them I think it
    is "e" for edit.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,769

    Default Re: Persistence and Live Opensuse 12.3 USB

    Quote Originally Posted by pomchip View Post
    Hi,

    I am trying to create a custom persistent Live OpenSUSE 12.3 USB system. Thanks to the SUSE studio service, I am able to create an iso of my custom system. I can easily create a live USB using the dd command, but I cannot find documentation/tutorial on how to make that system persistent. The section on persistent system in https://en.opensuse.org/SDB:Live_USB_stick is very short and specific but seems out of context of everything I have seen/read. For instance, it says


    But I don't have any initial boot prompt as everything is GUI based in my *iso. I don't have any clue how to apply the recommendation.

    Any idea where can I find a detailed step-by-step method to create a persistent USB system.

    Thank you

    Sebastien
    Press E at the boot menu to edit the kernel parameters. You want to add to the line starting with linux

  6. #6

    Default Re: Persistence and Live Opensuse 12.3 USB

    OK, I will try (I don't have the USB key with me right now).

  7. #7
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: Persistence and Live Opensuse 12.3 USB

    On Mon, 08 Apr 2013 18:26:01 +0000, pomchip wrote:

    > Hi Jim,
    >
    > I have tried that but I wasn't very successfully. After building a .iso
    > (Live CD) and a .raw (USB Stick/Hard disk) file from the same appliance,
    > the USB I got from the *.iso was bootable, the one I got from the *.raw
    > file was not. In the latter case, the boot stopped at a "grub" shell.
    >
    > For both attempts, I used fdisk and made sure that the partition was
    > bootable.
    >
    > Any idea?


    Did you follow the info at http://susestudio.com/help/use/disk-
    image.html ?

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  8. #8

    Default Re: Persistence and Live Opensuse 12.3 USB

    Hi Jim,

    Yes I did, but the md5sum of the .raw image and the md5sum of /dev/sde are different. Some forum posts were indicating that this might be due to the difference in disk size... but I don't know.

  9. #9

    Default Re: Persistence and Live Opensuse 12.3 USB

    Quote Originally Posted by gogalthorp View Post
    Press E at the boot menu to edit the kernel parameters. You want to add to the line starting with linux
    So I am not sure I was able to edit the kernel parameters, but when I have added kiwi_hybridpersistent=yes in the Boot options that can be defined in the Grub boot menu, the installation is modified so that the drives seen in Dolphine switch from:

    CDROM | contains boot, config.isoclient, and OpenSUSE_12.3__KDE4-read-only-i686-002
    Loop Device | all typical folders/files for a Linux system
    CDROM | cannot access
    97.7 GiB Hard Drive | cannot access // windows installation on my hard-drive


    to

    CDROM | contains boot, config.isoclient, and OpenSUSE_12.3__KDE4-read-only-i686-002
    Loop Device | all typical folders/files for a Linux system
    CDROM | cannot access
    97.7 GiB Hard Drive | cannot access // windows installation on my hard-drive

    CDROM | cannot access

    However, the system does not store any files that I create once I reboot the system.

  10. #10
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: Persistence and Live Opensuse 12.3 USB

    On Mon, 08 Apr 2013 22:46:08 +0000, pomchip wrote:

    > Hi Jim,
    >
    > Yes I did, but the md5sum of the .raw image and the md5sum of /dev/sde
    > are different. Some forum posts were indicating that this might be due
    > to the difference in disk size... but I don't know.


    In theory, the disk size shouldn't matter, but let's have a look at the
    output of "fdisk -l" (run as root, please use code tags (# button in the
    advanced post editor)) and if the device shows a partition table (which
    it should), maybe try running the md5sum against /dev/sdX1 (replacing "X"
    with the drive identifier in question). That'll limit it to the one
    partition rather than the full device.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •