SuseStudio LiveCD with USB

Hi
Have you tried the ‘hard way’ here using dd_rescue?
SDB:Live USB stick - openSUSE

On Sun, 13 Feb 2011 11:36:06 +0000, tremere51 wrote:

> JEOS
> I didnt have to select so much package cuz dependencies made it for me.
> I sent my susestudio account with pm. You can see it closer now.

But is it 11.2, 11.3, SLED? :slight_smile:

You’ll want to change your password - I did not ask for you to send that
over to me, and I don’t intend to use it. Having worked in IT for many
years, I would never ask anyone to send me their password. :slight_smile:

Jim


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

On Sun, 13 Feb 2011 15:06:03 +0000, tremere51 wrote:

> Developers answered me.
> They said hybrid live iso feature is not supported yet. What a shame, it
> is really disappointing. The integration must be bloody easy. Why not ?
> In 21. century we are being forced to use CD/DVD

As I go in and look at the formats available, though, there is an option
for a USB or Hard Drive image, and that’s bootable - is there a reason
you cannot use that?

I had forgotten that option existed, but that’s how I did this with my
setup.

Jim


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

malcolmlewis
I tryed hard way and unfortunately didnt work.
Thanks for the suggestion.

hendersj
11.3 JEOS 64 Bit
I dont want to change my password. I trust you, thanks :slight_smile:

Yes there is an option for a USB or Hard Drive image, and that’s bootable.
And yes there is a reason I dont want to use it.

USB raw image is not a live system image.
It just installs the distro into the usb and extremely slow because of USB is slower than HDD.
It also takes so much space than live images.(600MB iso/2400MB raw)

But read-only live images are so much faster.
Live image with usb boots 20 seconds, programs respond very fast.
Raw usb boots 70 seconds and programs respond very slow.
**
USB is not suitable for installing, it is more suitable for live images.**

I just dont want to use persistance, it makes everything slower for saving my options.
But hey anyway I dont want to save my options, I want to use my live iso as playground.
If I wanted to save my options i dont bother to create live cd, i make installer cd instead of.
And the usb raw image is not live.
I think I am starting to repeat myself.

Thanks for trying to help me Jim.
You are a real administrator.

On Fri, 18 Feb 2011 17:36:02 +0000, tremere51 wrote:

> hendersj
> 11.3 JEOS 64 Bit
> I dont want to change my password. I trust you, thanks :slight_smile:

Well, OK, I’ve deleted your PM and didn’t read what the password was, but
if anything odd happens with your account, change your password.

> Yes there is an option for a USB or Hard Drive image, and that’s
> bootable.
> And yes there is a reason I dont want to use it.

OK - I had missed that on my first read. It may be, though, that for the
time being using the disk image is the best option available until
support for LiveUSB devices is added. Did you open a feature request for
this in openFATE? If not, I suggest you do, that way others can vote for
it as well (I know I would, I’d really like to see that feature myself).

Note, too, that the performance you see with LiveCD media is because the
compressed filesystem is cached in memory - so you would need to offset
the slower performance with additional memory - that’s why you see the
difference in performance.

Jim


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

Thanks for your suggestion Jim.
I requested the feature on openFATE.
I suppose there is nothing we can do but wait now.
Thanks for all your helping and answers.

Please support me everybody.
https://features.opensuse.org/311321
Regards…

On Sat, 19 Feb 2011 11:06:02 +0000, tremere51 wrote:

> Thanks for your suggestion Jim.
> I requested the feature on openFATE.
> I suppose there is nothing we can do but wait now. Thanks for all your
> helping and answers.
>
> Please support me everybody.
> https://features.opensuse.org/311321
> Regards…

No problem - you’ve got my vote for it. :slight_smile:

Jim


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

[QUOTE=tremere51;2292105]Thanks for your suggestion Jim.
I requested the feature on openFATE.
I suppose there is nothing we can do but wait now.
Thanks for all your helping and answers.

I can help you get it going… its a bit messy, but it works.

  1. Use unetbootin on your live iso image

  2. Make a temp folder on your disk and extract the initrd from the newly created usb stick. Eg.
    mkdir /tmp/INITRD
    cd /tmp/INITRD
    zcat /media/USBNAME/boot/i386/loader/initrd | cpio -icudv

  3. Edit the include file and change the function CDDevice…
    I have …

function CDDevice {
        # /.../
        # detect CD/DVD/USB device(s). The function use the information
        # from hwinfo --cdrom to search for the block device
        # ----
        IFS=$IFS_ORIG
        local count=0
        local h=/usr/sbin/hwinfo
        if  $HAVE_MODULES_ORDER = 0 ];then
                for module in sg sd_mod sr_mod cdrom ide-cd BusLogic vfat; do
                        /sbin/modprobe $module
                done
        fi
#       Echo -n "Waiting for CD/DVD device(s) to appear..."
#       while true;do
#               cddevs=`$h --cdrom | grep "Device File:"|sed -e"s@(.*)@@" | cut -f2 -d:`
#               cddevs=`echo $cddevs`
#               for i in $cddevs;do
#                       if  -b $i ];then
#                               test -z $cddev && cddev=$i || cddev=$cddev:$i
#                       fi
#               done
#               if  ! -z "$cddev" ] ||  $count -eq 12 ]; then
#                       break
#               else
#                       echo -n .
#                       sleep 1
#               fi
#               count=`expr $count + 1`
#               udevPending
#       done
#       echo
#       if  -z "$cddev" ];then
                USBStickDevice
#               if  $stickFound = 0 ];then
#                       systemException \
#                               "Failed to detect CD/DVD or USB drive !" \
#                       "reboot"
#               fi
                cddev=$stickDevice
#       fi
        if  $stickFound = 0 ];then
                if grep -i -q "stick=[a-zA-Z0-9/]" /proc/cmdline; then
                        cddev=`sed 's/.*stick=\(^ ]*\).*/\1/' /proc/cmdline`
                else
                        cddev=/dev/disk/by-label/USBNAME
                fi
        fi
}

  1. Recreate the initrd Eg.

find . | cpio -oc | gzip -9 > /media/USBNAME/boot/i386/loader/initrd

It should now work. Btw USBNAME is the volume name of the stick. I have not tested the commandline stuff, and I boot the suse distro not the unetbootin, you can change the menu on the stick to suit your needs.

Hope this helps !

Cheers Ross

Forgot …

  1. I copied config.isoclient to config.usbclient I am not sure if this was needed