LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 01-21-2009, 08:19 PM   #1
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Rep: Reputation: 19
[Gentoo] Is it possible to install onto a 2.4GB partition?


Code:
hda  -       - ~5GB   - Hardrive
hda1 - C:\   - 2GB    - Windows 98 SE
hda2 - /boot - 64MB   - Grub
hda3 - swap  - 512MB  - Linux swap
hda4 - /     - ~2.4GB - Gentoo
Following the install instructions at http://www.gentoo.org/doc/en/handboo...?part=1&chap=5 using the minimal CD (not enough ram for universal), my Linux partition runs out of space half-way through extracting portage. According to http://www.gentoo.org/doc/en/handboo...?part=1&chap=2 all I need is 1.5 GB to install Gentoo, but this seems to be false.

I'd love to get rid of Windows 98 as not only is it slow and old, it cannot use anything plugged into the usb port of my Thinkpad 600 (internet, flash-drive etc). I only still have it so I can play Total Annihilation where-ever there is a powerpoint.

I hoped moving both tarballs to the windows partition (hda1) and extracting them from there would work, but hda4 still filled to the brim while applying solvent (!) to the portage tarball.

How do I install gentoo on this laptop?

Last edited by William (Dthdealer); 01-21-2009 at 08:43 PM. Reason: added the section about moving the source tarballs
 
Old 01-22-2009, 01:24 PM   #2
murdock4711
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Have a look at what 'df' tells you.
I assume 'df -h' will show you some free space available while 'df -i' will show that there are no more free inodes available.

The portage tree consists of a lot of small files, means it doesn't consume much space but a lot of inodes.
In addition mkfs.ext2/3 by default does not reserve enough free inodes on such a small filesystem for so many files.

You have to tell mkfs.ext2/3 to prepare the filesystem for lots of inodes proportional to the filesystems size.

mkfs.ext2/3 -T small /dev/hda4
should do the trick. You could also use the '-i' option if you want to calculate/specify your desired bytes/inode ratio.
 
Old 01-22-2009, 10:13 PM   #3
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Original Poster
Rep: Reputation: 19
Thanks, that would probably be my problem, as df tells me me drive is about half-full while df -i tells me I've used 100% of my indodes. Darn MFTs!
Would reiserFS work better on such a small HD or would it require substantially more CPU cycles to use? Else I'll just re-format my filesystem as ext3 with more inodes.

Last edited by William (Dthdealer); 01-22-2009 at 11:56 PM. Reason: Fixed reiser spelling mistake
 
Old 01-23-2009, 01:29 AM   #4
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Original Poster
Rep: Reputation: 19
Tried reiser - ran out of RAM while extracting When I mounted my swap (swapon) and extracted, tar spat out the same old error message about Cannot open: No space left on device even though it's only 23% full.
I'll have to format it as ext3 with more inodes.

Last edited by William (Dthdealer); 01-23-2009 at 01:38 AM. Reason: Added Italics
 
Old 01-23-2009, 01:52 AM   #5
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Original Poster
Rep: Reputation: 19
I created the filesystem using mkfs.ext2 -T small /dev/hda4, but as usual, but now I get the error message at 24% space usage and 6% inode use.
What's going on?

EDIT: I'm an idiot - I was extracting it to /usr, rather than usr (I was in /mnt/gentoo)

Last edited by William (Dthdealer); 01-23-2009 at 01:57 AM. Reason: Added EDIT line
 
  


Reply

Tags
df, ext, gentoo, inode


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
share partition with windows with >4Gb file sizes john72carter Linux - General 1 09-07-2006 08:14 AM
RH ES install - 2Gb ok, 4Gb not ok RedHatCat Red Hat 4 06-13-2005 10:14 AM
How should I partition my 4gb for slackware neroagent Slackware 3 04-10-2004 12:58 AM
Dual boot w/ Gentoo/xp pro vs. gentoo-invalid partition table bobbear Linux - Software 3 02-10-2004 04:28 PM
PArtition Help, then install Gentoo xyther4523 Linux - Software 4 01-26-2004 12:01 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration