Basically unetbootin creates a syslinux.cfg which is not that much derived from the orginal isolinux.cfg which it could be. it also renames the kernel + initrd images. I prefer a different approach, but well some ppl like it some hate it... My scripts always formats the usb key, unetbootin can not format. Now to the official tool to create an U live stick: when you create a persistent stick on fat you can not create a huger FILE for persistent mode than 4gb (minus 1 byte). This also takes ages because there are not fat sparse files, i create just a 2nd partition with the max space possible in that case which is much faster. I just don't care about the data on the stick at all You find a collection of my scripts in irc.freenode.net/#kanotix with !usb (then !more). I supported even V/7 on usb key months before the official Win7 tool was out using syslinux+chain.c32. I have got even scripts for freedos on usb key, but well not linked there... If i need something i write it, i do not care at all about unetbootin or tools that require U live mode.
Announcement
Collapse
No announcement yet.
Ubuntu 11.04 Released
Collapse
X
-
Originally posted by Kano View PostYou can be sure i have got my own scripts to partition a stick and put an iso on it (with or without persistence). I even wrote a script to convert the grub menu.lst from backtrack 4 to syslinux.cfg. But that has nothing to do with hybrid iso images.
what I want to is:
Code:+----------+--------------------+ | ubuntu | data | +----------+--------------------+
Oh, openSuSE isohybrid concept is quite good. U make a bootable usb with their ISO, then when you boot, the rest of your free space with claimed automatically by openSuSE. Mark it with ext3, IIRC. But then, it's not what I want.
Originally posted by Panix View PostWhen does Ubuntu fix bugs? Their priority is making things look pretty and changes that are totally different or unique to other distros.
Originally posted by Panix View PostHow come there is NO good applications for saving a live distro to a usb stick?
UNetbootin? No, it sucks. All the good ones are Windows-only, admit it. No one works on these applications or improves the current ones. I think the concept of booting up a live distro on a usb stick is great. A much nicer, more accurate experience than CD or DVD but the current status on using usb stick is so primitive.
Originally posted by BlackStar View PostI agree that USB sticks are the way to go, but what is it that you don't like in UNetbootin? I've been using it for years and it does everything I need it to (give it a CD iso, make a bootable USB stick out of it). Ubuntu also offers a USB utility that works fine.
Comment
-
Basically it is no good idea to store data on the 2nd partition if you want to use it with Windows. Windows only mounts the first partition (until you add a filter driver that only exists for 64 bit which disables the removeable flag). Also Win does not like iso9660 partitions on an usb key, it wants for format it. You can boot win7 or better the win pe part from a hybrid iso image (on usb), but you can not install it, because only pe works but does not find the install.wim as the iso9660/udf driver is not active for usb keys. So what you want to do is basically a bit stupid As nobody looked into my irc channel here are my scripts which support U as well (Kanotix of course too):
The first option is the iso, the 2nd is the device. The stick may not be mounted, also automounters are really bad, those should be disabled. Both scripts partition the stick with 1 mb alignment for best speed (similar to 4k hds/ssds). The 2nd script creates a casper-rw (for Kanotix/Debian live: live-rw) labeled partition and enables it using the persistent option. You can of course add an extra entry to boot without persistent option, i just don't do that automatically. Using an extra partition it is possible to add much more data than 4gb (fat32 restriction) in live mode - just up to the size of your usb key. The first partition is still fat32, if needed resize it with any common tool or change the script at the SIZE_MB line. I already add 10 mb free space to the size of the iso but feel free do adjust that to your own needs. The first script can be used for Win iso images as well...
Comment
-
Originally posted by Kano View PostBasically it is no good idea to store data on the 2nd partition if you want to use it with Windows. Windows only mounts the first partition (until you add a filter driver that only exists for 64 bit which disables the removeable flag). Also Win does not like iso9660 partitions on an usb key, it wants for format it. You can boot win7 or better the win pe part from a hybrid iso image (on usb), but you can not install it, because only pe works but does not find the install.wim as the iso9660/udf driver is not active for usb keys. So what you want to do is basically a bit stupid As nobody looked into my irc channel here are my scripts which support U as well (Kanotix of course too):
The first option is the iso, the 2nd is the device. The stick may not be mounted, also automounters are really bad, those should be disabled. Both scripts partition the stick with 1 mb alignment for best speed (similar to 4k hds/ssds). The 2nd script creates a casper-rw (for Kanotix/Debian live: live-rw) labeled partition and enables it using the persistent option. You can of course add an extra entry to boot without persistent option, i just don't do that automatically. Using an extra partition it is possible to add much more data than 4gb (fat32 restriction) in live mode - just up to the size of your usb key. The first partition is still fat32, if needed resize it with any common tool or change the script at the SIZE_MB line. I already add 10 mb free space to the size of the iso but feel free do adjust that to your own needs. The first script can be used for Win iso images as well...
Code:+---------------+--------+ | unformated fs | fat32 | | debian | data | +---------------+--------+
Thanks for the link (#1). But I'm afraid I won't use it. It create live-usb on fat32 fs, right? and the link (#2) for persistant data, but I want my data can be accessed from windows.
BTW, could you please provide a couple of screenshoot of kanotix. With that, IMHO it will attract more user .
Comment
-
@deanjo
When you write 1:1 onto usb it does not matter as it is of course aligned. Mainly you can write faster when you use a stick with internal 4k sectors. When your write speed is extremely slow with an usb key you should try to repartition it. Do not use cfdisk, but gparted will do too (or just use my sfdisk code). For the first script you mainly just create the stick faster, but for the 2nd script which creates the 2nd partition which is rw mounted in live mode it is of course very important to think about that. Every write access would trigger the read/write of 2 not only 1 sector then. When soon as somebody told me the write of 3.5 gb data would need 30 min then i thought something must be going completely wrong...
Comment
-
Originally posted by Kano View Post@deanjo
When you write 1:1 onto usb it does not matter as it is of course aligned. Mainly you can write faster when you use a stick with internal 4k sectors. When your write speed is extremely slow with an usb key you should try to repartition it. Do not use cfdisk, but gparted will do too (or just use my sfdisk code). For the first script you mainly just create the stick faster, but for the 2nd script which creates the 2nd partition which is rw mounted in live mode it is of course very important to think about that. Every write access would trigger the read/write of 2 not only 1 sector then. When soon as somebody told me the write of 3.5 gb data would need 30 min then i thought something must be going completely wrong...
Comment
Comment