View previous topic :: View next topic |
Author |
Message |
oshecho n00b
Joined: 23 Dec 2006 Posts: 62
|
Posted: Sun Dec 28, 2008 10:52 pm Post subject: Installing Gentoo with ext4 on new laptop. |
|
|
I am about to get a new laptop(hopefully tomorrow) and I want to use ext4. I've done some reading on it and I know that /boot should not be ext4. Does anyone have any tips and/or things that I should read before I do so? Also, can anyone recommend a 64bit CD Image with kernel 2.6.28 for setting it up? _________________ Adopt an unanswered post!
God rocks |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Mon Dec 29, 2008 3:26 am Post subject: Re: Installing Gentoo with ext4 on new laptop. |
|
|
oshecho wrote: | I am about to get a new laptop(hopefully tomorrow) and I want to use ext4. I've done some reading on it and I know that /boot should not be ext4. Does anyone have any tips and/or things that I should read before I do so? Also, can anyone recommend a 64bit CD Image with kernel 2.6.28 for setting it up? | make /boot ext2 and / ext4. Make sure your inodes are 256 (bits or bytes or something...), and make sure you have extents enabled in fstab (and mount it with extents, to take advantage of the feature)
As for livecd, either roll your own, or use ext4dev that comes with sysresccd (that's what I used to convert my fs) _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
fbsduser n00b
Joined: 01 Jan 2009 Posts: 3
|
Posted: Fri Jan 02, 2009 5:37 am Post subject: |
|
|
And for the kernel. You can look for it on the overlays, and masked sections. Or in the worst case get it off kernel.org |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Jan 02, 2009 7:44 am Post subject: |
|
|
gentoo-sources-2.6.28 is in the portage tree. I used the latest parted magic livecd to convert /, so I am sure that that one work with ext4 file systems. |
|
Back to top |
|
|
soth Apprentice
Joined: 12 Sep 2003 Posts: 207
|
Posted: Sun Jan 04, 2009 9:01 am Post subject: |
|
|
I am waiting for the new releases weekly stages build to include a minimal cd with 2.6.28 for amd64. x86 is already done, just a matter of time I guess. _________________ - Never argue with an idiot. They just drag you down to your level and beat you with experience.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Nick C Guru
Joined: 18 Mar 2005 Posts: 526 Location: Portsmouth, England
|
Posted: Sun Jan 04, 2009 7:02 pm Post subject: |
|
|
or grab the latest beta System Rescue CD at http://www.sysresccd.org which is based on gentoo and uses a kernel (2.6.27 at the time of writing) and supports ext4 quite happily. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net |
|
Back to top |
|
|
Lubomir Apprentice
Joined: 17 Dec 2005 Posts: 155
|
Posted: Fri Jan 09, 2009 12:56 am Post subject: |
|
|
I am installing gentoo with system rescue cd and ext4 at the moment on 64bit machine. Before 2 weeks i installed it on 32bit and ext4. Everything works GREAT. |
|
Back to top |
|
|
]Trix[ Apprentice
Joined: 27 Feb 2003 Posts: 184
|
Posted: Wed Feb 11, 2009 9:56 pm Post subject: |
|
|
Lucky you.... I was trying to boot with into 64bit version of system rescue cd and it didn't work... .It didn't recognize the hard drive.... So I used latest Fedora LiveCD and it worked... but know i have problem mounting ext4 partition because I have used genkernel instead of manually building it (I am first doing a test drive in vmware enviroment and was too lazy to configure it myself)) Anyone knows any bypass to my problem? _________________ Frank Zappa: "A mind is like a parachute. It doesn't work if it's not open." |
|
Back to top |
|
|
Tadeas Tux's lil' helper
Joined: 19 Sep 2008 Posts: 113 Location: Prague
|
Posted: Thu Feb 12, 2009 8:09 am Post subject: |
|
|
Might I ask a related question:-)?
Quote: | make /boot ext2 and / ext4 |
Is it neccessary? I also think about trying ext4, but I don't have a separate patition for /boot - and I can't have one because there is none spare. And I don't want to create extended partitions because I'd have to format one of the existing partitions and they're all full of data..
Is it possible to make it work with /boot directory on the same partition as / , all formated with ext4? |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Fri Feb 13, 2009 12:28 pm Post subject: Re: Installing Gentoo with ext4 on new laptop. |
|
|
poly_poly-man wrote: | oshecho wrote: | I am about to get a new laptop(hopefully tomorrow) and I want to use ext4. I've done some reading on it and I know that /boot should not be ext4. Does anyone have any tips and/or things that I should read before I do so? Also, can anyone recommend a 64bit CD Image with kernel 2.6.28 for setting it up? | make /boot ext2 and / ext4. Make sure your inodes are 256 (bits or bytes or something...), and make sure you have extents enabled in fstab (and mount it with extents, to take advantage of the feature)
|
Apparently the problem is that until recently grub only understood 128 byte inodes; for a long while there wasn't a patch to use the 256 byte
inodes needed by ext4, which had therefore become the default for ext3. However, I _think_ the current grub revision understands 256 bytes;
I'm pretty sure it doesn't understand ext4. If you want to run ext4 a separate /boot partition still seems to be necessary.
Will |
|
Back to top |
|
|
soth Apprentice
Joined: 12 Sep 2003 Posts: 207
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Fri Feb 13, 2009 11:48 pm Post subject: Re: Installing Gentoo with ext4 on new laptop. |
|
|
cwr wrote: | Apparently the problem is that until recently grub only understood 128 byte inodes; for a long while there wasn't a patch to use the 256 byte inodes needed by ext4, which had therefore become the default for ext3. However, I _think_ the current grub revision understands 256 bytes;
I'm pretty sure it doesn't understand ext4. |
The second claim is false, at least for the patched grub available in gentoo: sys-boot/grub-0.97-r9 (which is also available on current sysrescuecd, at least in the beta-version of that cd) has neither a problem with 256 inodes nor with ext4: Meanwhile I have all /boot's on my machines in this format, and no problem so far (except for two segfaults of ext4, but I am not sure whether this wasn't a hardware issue). |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sat Feb 14, 2009 10:28 am Post subject: |
|
|
Thanks - I'm running grub -r5, and I wasn't sure there was a later version
(I tend not to upgrade grub until I have to). Now I know that -r9 can handle
ext4 I'll get hold of a copy.
Will |
|
Back to top |
|
|
|