View previous topic :: View next topic |
Author |
Message |
nodiaque n00b
Joined: 15 Jul 2005 Posts: 54
|
Posted: Thu Jul 21, 2005 1:42 am Post subject: partition mod |
|
|
Hi, I would like to know if there is a way to resize partition on an existing system? Because right now, I just compile a new kernel and I saw that my boot partition is full (hmmm... think I was lazy, I did a 36 mb partition... too small for 2 kernel) so I would like to resize my boot partition and maybe change my home size to give some to usr folder, but all of that without any data loss?
Thanks |
|
Back to top |
|
|
s0be Apprentice
Joined: 23 Nov 2002 Posts: 240
|
Posted: Thu Jul 21, 2005 3:27 am Post subject: |
|
|
My boot partition is 100MB, which is enough for like 80-90 kernels. Your kernels should be being built in /usr. You should check out what's using up your boot partition. Kernels are usually a meg or two on my system. |
|
Back to top |
|
|
nodiaque n00b
Joined: 15 Jul 2005 Posts: 54
|
Posted: Thu Jul 21, 2005 4:24 am Post subject: |
|
|
well my kernel are buit in /usr too but my boot partiting habe 99% used space..
Code: | Argonize ~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 9.4G 822M 8.6G 9% /
udev 251M 2.6M 248M 2% /dev
/dev/hda5 47G 1.6G 46G 4% /home
/dev/hda6 1.9G 520M 1.4G 28% /var
/dev/hda7 57G 39G 18G 69% /usr
none 251M 0 251M 0% /dev/shm
/dev/hda1 37M 37M 592K 99% /boot
|
I'll be honest, I don't see what's taking my space:
Code: | Argonize boot # ls -lah
total 3.8M
drwxr-xr-x 5 root root 280 Jul 20 22:02 .
drwxr-xr-x 19 root root 440 Apr 28 04:24 ..
-rw-r--r-- 1 root root 0 Apr 25 03:53 .keep
-rw-r--r-- 1 root root 1.2M Jul 20 21:53 System.map-2.6.12-gentoo-r4
lrwxrwxrwx 1 root root 1 Apr 24 18:31 boot -> .
-rw-r--r-- 1 root root 28K Apr 28 03:59 config-2.6.11-gentoo-r6
drwxr-xr-x 2 root root 664 Jul 14 14:56 grub
-rw-r--r-- 1 root root 2.6M Jul 20 21:53 kernel-2.6.12-gentoo-r4
Argonize boot # cd grub
Argonize grub # ls -lah
total 473K
drwxr-xr-x 2 root root 664 Jul 14 14:56 .
drwxr-xr-x 5 root root 280 Jul 20 22:02 ..
-rw-r--r-- 1 root root 197 Apr 25 23:32 default
-rw-r--r-- 1 root root 30 Apr 25 23:32 device.map
-rw-r--r-- 1 root root 7.6K Jul 14 14:56 e2fs_stage1_5
-rw-r--r-- 1 root root 7.4K Jul 14 14:56 fat_stage1_5
-rw-r--r-- 1 root root 6.7K Jul 14 14:56 ffs_stage1_5
-rw-r--r-- 1 root root 183 Jul 20 22:02 grub.conf
-rw-r--r-- 1 root root 1.6K Jul 14 14:56 grub.conf.sample
-rw-r--r-- 1 root root 6.7K Jul 14 14:56 iso9660_stage1_5
-rw-r--r-- 1 root root 8.2K Jul 14 14:56 jfs_stage1_5
lrwxrwxrwx 1 root root 9 Apr 25 23:26 menu.lst -> grub.conf
-rw-r--r-- 1 root root 6.9K Jul 14 14:56 minix_stage1_5
-rw-r--r-- 1 root root 9.0K Jul 14 14:56 reiserfs_stage1_5
-rw-r--r-- 1 root root 34K Jul 14 14:56 splash.xpm.gz
-rw-r--r-- 1 root root 512 Jul 14 14:56 stage1
-rw-r--r-- 1 root root 106K Jul 14 14:56 stage2
-rw-r--r-- 1 root root 106K Apr 25 23:32 stage2.old
-rw-r--r-- 1 root root 106K Jul 14 14:56 stage2_eltorito
-rw-r--r-- 1 root root 7.0K Jul 14 14:56 ufs2_stage1_5
-rw-r--r-- 1 root root 6.3K Jul 14 14:56 vstafs_stage1_5
-rw-r--r-- 1 root root 9.1K Jul 14 14:56 xfs_stage1_5
|
what the hell is taking my boot space... |
|
Back to top |
|
|
s0be Apprentice
Joined: 23 Nov 2002 Posts: 240
|
Posted: Thu Jul 21, 2005 10:57 am Post subject: |
|
|
I'd unmount /boot and fsck it. If that doesn't show anything... perhaps the blocksize is something rediculous. |
|
Back to top |
|
|
|