Bug 563527

Summary: RFE: support ext4 partitions
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: livecd-toolsAssignee: David Huff <dhuff>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: bruno, Jasper.Hartline, katzj, opensource, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: livecd-tools-034-7.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-16 03:48:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 609443    
Bug Blocks:    
Attachments:
Description Flags
Support Ext4 devices for livecd-iso-to-disk (Needs syslinux-4.00 or greater) none

Description Cristian Ciupitu 2010-02-10 14:15:24 UTC
Description of problem:
livecd-iso-to-disk can not be used on ext4 partitions, although ext4 is supported by Fedora (including grub).

Version-Release number of selected component (if applicable):
livecd-tools-031-1.fc12.1.x86_64

Comment 1 Fedora Admin XMLRPC Client 2010-05-07 15:41:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Jasper O'neal Hartline 2010-08-04 17:35:02 UTC
What are your results or errors when you use livecd-iso-to-disk on an ISO?

Comment 3 Cristian Ciupitu 2010-08-04 20:50:20 UTC
I don't remember seeing any errors. If I remember correctly, it complained that the partition wasn't ext2/ext3 or FAT. The source code[1] seems to confirm this.

[1] http://git.fedorahosted.org/git/?p=livecd;a=blob;f=tools/livecd-iso-to-disk.sh;h=f4d08553d9bfab55c80353434b9cbd41676f1dac;hb=d17704983b857889612a6963b6bd7ef456d12e2e#l229

Comment 4 Jasper O'neal Hartline 2010-08-05 04:17:54 UTC
extlinux doesn't support Ext4 yet, which is what we use on
Ext filesystems. I did notice that there isn't even a createEXTFSLayout() function in livecd-iso-to-disk but that would only be applicable to using --format flag with the script.

I suppose you could use Grub.. but until ext4 is supported in extlinux we can't use it. I'm not sure how long that is going to take however, I have been looking here:
http://git.zytor.com/?p=users/liu/devel.git;a=summary

If it doesn't move forward, I think we might want to convince the project leads to use Grub for Ext4.

Does the maintainer of livecd-tools have any discussion they would want to present on using Grub for Ext4 if extlinux isn't moving forward?

Seems like May of 2009 was the last changes to the repository I listed above.

Comment 5 Jasper O'neal Hartline 2010-08-05 04:39:50 UTC
Let me retract my previous comments, 4.02 does support Ext4 and BTRFS.
It just seemed odd we've not had many syslinux updates from what I could see so I assumed from what I could find on the wiki for syslinux it wasn't supported.

Clearly 4.00 supports Ext4:
http://freshmeat.net/projects/syslinux

pjones is the project maintainer for ext4, and as soon as we can see there is a syslinux update I have the patches here for livecd-iso-to-disk (only)
which implement createEXTFSLayout when using --format flag and also the patches to add ext4 to the list of checks on msdos, vfat or ext2 ext3 filesystem types in livecd-iso-to-disk.

If you can find an RFE in the bugzill on an update to syslinux, leaving a comment won't hurt. 

If you feel like compiling and installing syslinux 4.02 yourself and installing it before hand, I will go ahead and attach this patch for livecd-iso-to-disk for supporting the Ext4 filesystem on a USB stick.

Comment 6 Jasper O'neal Hartline 2010-08-05 04:41:34 UTC
Here is that upstream release update report also:
https://bugzilla.redhat.com/show_bug.cgi?id=609443

Comment 7 Jasper O'neal Hartline 2010-08-05 04:43:04 UTC
Created attachment 436736 [details]
Support Ext4 devices for livecd-iso-to-disk (Needs syslinux-4.00 or greater)

Applies clean against git of livecd-tools's livecd-iso-to-disk.

Comment 8 Bruno Wolff III 2010-09-12 01:12:38 UTC
This has been committed upstream.

Comment 9 Fedora Update System 2010-09-12 04:19:50 UTC
livecd-tools-034-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/livecd-tools-034-1.fc14

Comment 10 Fedora Update System 2010-09-13 18:09:39 UTC
livecd-tools-034-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update livecd-tools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/livecd-tools-034-2.fc14

Comment 11 Fedora Update System 2010-09-15 03:22:36 UTC
livecd-tools-034-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/livecd-tools-034-7.fc14

Comment 12 Fedora Update System 2010-09-15 06:51:54 UTC
livecd-tools-034-7.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update livecd-tools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/livecd-tools-034-7.fc14

Comment 13 Fedora Update System 2010-09-16 03:46:37 UTC
livecd-tools-034-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.