FS#13213 - use isohybrid to make iso that can boot on usb also
Attached to Project:
Release Engineering
Opened by christopher rogers (godane) - Wednesday, 11 February 2009, 20:07 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 18:12 GMT
Opened by christopher rogers (godane) - Wednesday, 11 February 2009, 20:07 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 18:12 GMT
|
Details
Isohybrid can allow you to make a iso that can be put on usb
with dd or cat. This will save you on making 2 images and
save on bandwidth.
http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE isohybrid archiso.iso Thats all you have to do for usb support. |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Friday, 05 March 2010, 18:12 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/archiso.gi t/commit/?id=ca52931e3aa7b948fb1957240c8 80770b71d0e6b
implemented in archiso git.
archiso now builds iso/usb hybrid images.
Friday, 05 March 2010, 18:12 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/archiso.gi t/commit/?id=ca52931e3aa7b948fb1957240c8 80770b71d0e6b
implemented in archiso git.
archiso now builds iso/usb hybrid images.
I've been out of town. I'll get to it, but keep in mind I *do* have a life and *do* do other things. I cannot always be on everyone's schedules
If you have a remote git tree somewhere I could follow, that would be very helpful
How to go about the isohybrid changes? I was going to kick out all the deprecated grub and traditional usb-hacking stuff because it keeps the codebase small nice and it probably won't be needed anyway as isohybrids are surprisingly compatible. I was also going to integrate the isohybrid stuff to mkarchiso instead of the Makefiles.
Considering how much cleaner it would make everything, I am all for just getting rid of grub for the ISOs.
We can worry about making syslinux pretty later. The only thing we lose is the actual ability to boot an existing system (right?)
DEFAULT linux
LABEL linux
SAY Now booting the kernel from SYSLINUX...
KERNEL vmlinuz.img
APPEND ro root=/dev/sda1 initrd=initrd.img
Straight from the syslinux wiki.
Of course, this seems quite inconvenient because you have to know everything exactly.
However, if you use chain.c32 (which is already included for us but we need to copy it) then you can also
chainboot grub or basically any other installed bootloader. So no, we don't lose anything. We even have interactive editing back thanks to vesamenu.c32.
This is sounding more and more promising. I'm now following your changes here: http://code.phraktured.net/cgit.cgi/archiso/
As for the actual changes. Perhaps it might be idea just to copy the install-iso config dir and start fresh. That was the original intent of that - to maintain multiple configurations that might/should actually work
Let's get familar with syslinux and screw the rest for now. I've been using it for my own distro for a while now and it is a lot cooler than what it looks like on the surface. My patch got merged rather quick as well so development is going strong. You'll see when I have some results.
http://code.phraktured.net/cgit.cgi/archiso/log/?h=isohybrid
Also, please use the latest makefile if you're planning on copying that over, as it does things much better
git clone -b isohybrid http://code.phraktured.net/git/arch/archiso/.git archiso-phrak
Initialized empty Git repository in /home/svenstaro/archiso-phrak/.git/
warning: Remote branch isohybrid not found in upstream origin, using HEAD instead
warning: remote HEAD refers to nonexistent ref, unable to checkout.
Neither can just git clone without -b do it. What is wrong here?
a) Do we kill off grub support from mkarchiso entirely? I'd like Gerhard or Dieter to weigh in on this. One can always install grub manually and skip the "iso" step to manually use another bootloader.
b) Screenshots of the menu please?!
The real question now is: do we completely kill off grub support? I'd like other devs to weigh in. My current vote is 'yes'
Awesome image is here: http://imgur.com/GbvHo
By the way, I included a script "test-isolinux.sh" which you can call if you have qemu-kvm, cdrkit and syslinux installed and it will let you rapidly test your isolinux settings.
Aaron, take pictures from your family trip and make the best one the next isolinux splash graphic.
what would we miss with isolinux?
booting other OS's doesn't seem to work as well (http://syslinux.zytor.com/wiki/index.php/ISOLINUX#Can_I_boot_other_operating_systems_with_ISOLINUX.3F), and i'm not sure if you can boot from nfs/pxe with it.
but other then that, we're good right? did anyone try chainloading from syslinux to grub? if we would support such as chainload to grub, does that mean we still need all our messy code (i.e. not really an improvement?)
the chainload seems a great alternative if we can keep all our nice code cleanups, but if isolinux doesn't really lack anything too important i would not even provide chainloading grub.
Not sure, at least in udev git [#1] all rules related to "ide" are removed. (for future udev-148)
[#1] http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=ecf61aa7fdb5b7e9e19f06584caee9b5eb1c7350
I'm going to cherry-pick some patches and then merge your syslinux config into the syslinux-iso tree I created. The intent is to keep both configs side-by-side until we feel like completely killing the other one off
http://code.phraktured.net/cgit.cgi/archiso/
Sven, I merged in your archiso changes and then copied the entire syslinux config to the directory I originally created. This way, removal of other configs doesn't need to be done as part of this and we can leave the others in place.
Please take a look. I also created a net image (make net-iso) which should be complete in a few minutes:
http://phraktured.net/archlinux-2009.12-netinstall-x86_64.iso
Also tagged Thayer to get a good background image and menu color scheme (see screenshot a few posts up - I snagged that from a random google result for "arch linux wallpaper"). It can be PNG now :)
I would like to leave this open simply to make sure the new isolinux image does not lose anything from the grub images that was useful.
Regarding KMS, that one is iffy. At the very least, this should wait until the next kernel release when KMS is (hopefully) stabler, but for now setting KMS to off gives us maximum bootability
- some uncertainity whether isolinux would work with USB sticks (not an issue anymore apparently)
- Aarons comments @ http://mailman.archlinux.org/pipermail/arch-releng/2009-February/000258.html which are hopefully outdated as wel.
With a few minor adjustments, I think both look reasonable. Opinions?
About remoing the old IDE initrd: Please see [#1] seems that is necessary for now.
[#1] http://mailman.archlinux.org/pipermail/arch-dev-public/2009-December/014521.html
FS#16497- [initscripts] rc.sysinit and /etc/mtab small issue with mount.aufs" or just put the current rc.sysinit on overlay fs.There are small pending changes in my branch since last merge in master [#2]
[#1] http://mailman.archlinux.org/pipermail/arch-releng/2009-November/000792.html
[#2] http://github.com/djgera/archiso/commits/djgera
Many people use that article as a reference for archiso and as of the current git version it is somewhat out of date.
I do however not possess rights for Aarons repo and he won't give me any ( :( ) and thus all I can do is hope for him to merge my stuff. Personally, I thought it was a good idea to remove all the broken configs. My repo is currently up-to-date and merges nicely.