Rodney Baker wrote:
Hi all. This is more of a generic question but there are lots of knowledgeable people here so I think it is a good place to ask.

A while back I tried to compile and install a new kernel but ran out of space on the root filesystem. To fix this I tried moving /lib onto a separate spare partition. I updated /etc/fstab but then found that the system would not boot because /lib wasn't mounted early enough.

Is there a correct way (or an elegant way) to fix this? Does it require a rebuild of initrd?

Use the install disk and boot into the system rescue, and
move the /lib directory back onto the root partition.

Just out of curiosity, why would you move such a crucial
directory off of the root filesystem, instead of moving another
directory to a different filesystem?

/sbin, /bin, /etc, and /lib *MUST* be on the root partition.


Any suggestions will be appreciated.

Yeah...remember, when you run out of room on one filesystem
you can place a non-critical directory on a different
filesystem, but make it APPEAR to be in the "right place"
by using symbolic links

man ls

and look at the -s  option


For example, currently, I have /local in the /home filesystem.

How did I do this?

$ mv /local /home/local
$ ln -s /home/local /local
$ ls -al / | grep local
lrwxrwxrwx   1 root root    11 2006-12-26 10:58 local -> /home/local
% ls /local
administrator-en.pdf
download
etc_10.1
fill_help_tables-5.0.sql
fill_help_tables-5.0.sql.gz
fill_help_tables-5.1.sql
fill_help_tables-5.1.sql.gz
fonts
guibook-en.pdf
internals-en.pdf
query-browser-en.pdf
refman-5.0-en.html-chapter.tar
refman-5.0-en.html-chapter.tar.gz
refman-5.0-en.man.tar
refman-5.0-en.man.tar.gz
refman-5.0-en.pdf
refman-5.1-en.html-chapter.tar.gz
refman-5.1-en.man.tar.gz
refman-5.1-en.pdf
rip
rp-pppoe-3.8.tar.gz
sakila-en.pdf
seamonkey-1.1b.en-US.linux-i686.installer.tar.gz
world-setup-en.pdf
world.sql.gz
% ls /home/local
administrator-en.pdf
download
etc_10.1
fill_help_tables-5.0.sql
fill_help_tables-5.0.sql.gz
fill_help_tables-5.1.sql
fill_help_tables-5.1.sql.gz
fonts
guibook-en.pdf
internals-en.pdf
query-browser-en.pdf
refman-5.0-en.html-chapter.tar
refman-5.0-en.html-chapter.tar.gz
refman-5.0-en.man.tar
refman-5.0-en.man.tar.gz
refman-5.0-en.pdf
refman-5.1-en.html-chapter.tar.gz
refman-5.1-en.man.tar.gz
refman-5.1-en.pdf
rip
rp-pppoe-3.8.tar.gz
sakila-en.pdf
seamonkey-1.1b.en-US.linux-i686.installer.tar.gz
world-setup-en.pdf
world.sql.gz


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to