Create a HDD/USB image from a CD-ISO image

Discuss Applications
Post Reply
User avatar
Basher52
guru
guru
Posts: 919
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Create a HDD/USB image from a CD-ISO image

Post by Basher52 » Fri Nov 25, 2011 4:47 pm

Is there another way to do this other then the thing found by googling??, 'cos they just wont work :( at least the once I found.

The ISO Image I'm trying to create a HDD boot image of is for Novell's ZenWorks 10.3.3 and I tried lots of
smaller "apps" that are supposed to create a bootable image but it just wont work, at least correctly.
Can I boot, ISOLinux, mount this CD image and "boot" that?

Is there something special I gotta think about when doing this?
I'm a big "n00b" when it comes to bootings images from different media so I might be missing some
important thing when I try "converting" this ISO so I can use it from a HDD.

Any thoughts?

User avatar
Basher52
guru
guru
Posts: 919
Joined: Wed Oct 22, 2003 5:57 am
Location: .SE

Re: Create a HDD/USB image from a CD-ISO image

Post by Basher52 » Fri Dec 02, 2011 3:05 pm

After lots of googling I found a place that made it work.
I tried using: http://unetbootin.sourceforge.net/
but it told me to "be sure that CD1 is supplied" :(

It does extract the initrd so all the user added drivers for the NIC, AHCI etc are OK
but the "rest" of the scripts that are supposed to run it just won't.

I thought: this is call uNETbootin so it might only work to setup a boot and then
work just for network.

Solution:
I had to add some kernel parameters, like this

changed

Code: Select all

append initrd=/boot/i386/loader/initrd ramdisk_size=67584 splash=silent mode=5 CDBOOT=YES showopts vga=0x0314
to

Code: Select all

append initrd=/boot/i386/loader/initrd ramdisk_size=67584 splash=silent mode=5 USBBOOT=YES showopts vga=0x0314 install=hd:/dev/sdb1 root=/dev/sdb1
Since the HDD always is /dev/sda, this will always work
Seems that the util: unetbooting is missing something like the above stuff.
I also had to move my own scripts to another place and not the "ZenWorks" usual place.
I had to move them into the ubninit (the renamed initrd) so I think unetbooting can't handle all ISOs :P

Hope this will help some other dudes that needs the same stuff.
Seems that Novell ain't that keen on helping their customers with this :(

Now my next problem is to move this USB-bootable image to a disk and then later use that for all HDDs

Post Reply