Re: How do I make resize my /'s /boot partition for more free disk space?



On 2010-02-25, GangGreene <GangGreene@xxxxxxxxxxx> wrote:
Ant wrote:

Hello.

My very old Debian/Linux workstation/desktop box (first installed it on
9/24/2004 and kept it updated daily and only had one reinstall
(accidently ran fsck without unmounting a few years ago) -- still
amazing that it runs today) is unable to install the latest Kernel
(v2.6.32) Debian package due to free limited disk space in / (actually
/boot) partition:

No. You do not have a /boot partition. You have a / partition containing
a directory called /boot.

Erase some of those old kernels that you have
not used since 2006 and make yourself some room.

And next time, don;t make 10 partitions. That is silly. You note that
you have miles of room in /tmp,

If that does not by you enough room ( it should) transfer your / partion
to your current /others partition ( /dev/hda12)

At present, I would move all the little bit of stuff in /other away
somewhere else, erase /others, copy the / partition to the /other, and
set up lilo/grub to point to /dev/hda12 as your boot partition.

At present add menu entries to lilo/grub for /dev/hda12 keeping th
eones you already have, reboot, and choose the new ones, and make sure
everything works. If it does, remove the stuff in your current /
partition.



$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 280003 173227 92320 66% /
tmpfs 1297724 0 1297724 0% /lib/init/rw
udev 10240 264 9976 3% /dev
tmpfs 1297724 0 1297724 0% /dev/shm
/dev/hda5 14421344 2759732 10929052 21% /home
/dev/hda6 4807056 3620424 942448 80% /usr
/dev/hda7 964500 721228 194276 79% /var
/dev/hda8 964500 17676 897828 2% /tmp
/dev/hda9 4807056 206076 4356796 5% /usr/local
/dev/hda11 47383396 19522168 25454292 44% /extra
/dev/hda12 918322 16452 852874 2% /others

(parted) p
Model: ST380011A (ide)
Disk /dev/hda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 296MB 296MB primary ext3
2 296MB 80.0GB 79.7GB extended
5 296MB 15.3GB 15.0GB logical ext3
6 15.3GB 20.3GB 5001MB logical ext3
7 20.3GB 21.3GB 1003MB logical ext3
8 21.3GB 22.3GB 1003MB logical ext3
9 22.3GB 27.3GB 5001MB logical ext3
12 27.3GB 28.3GB 1003MB logical ext3
10 28.3GB 30.7GB 2418MB logical linux-swap(v1)
11 30.7GB 80.0GB 49.3GB logical ext3

http://img98.imageshack.us/img98/6544/screenshot1qs.png for a screen
capture of GParted.

How can I resize my /'s /boot to get more free disk space without
getting another bigger HDD to copy over or reinstalling from scratch?
Can I use KNOPPIX v6.2.1 to do it or is it not possible? I used to use
PowerQuest's PartitionMagic for DOS and Windows to resize, but I wasn't
sure if this method works in Linux too.

Thank you in advnace. :)
.



Relevant Pages

  • Re: /tmp full (newbie)
    ... assign the disk space more practically. ... but a tiny / partition will make using the OS difficult. ... At the end of the day the best way to learn is to install, reinstall, ... Jez Hancock ...
    (freebsd-questions)
  • Re: How do I make resize my /s /boot partition for more free disk space?
    ... 9/24/2004 and kept it updated daily and only had one reinstall ... Partition Table: msdos ... How can I resize my /'s /boot to get more free disk space without ... Everytime I install a new Kernel package, it tells me not enough free disk space because of /dev/hda1. ...
    (comp.os.linux.setup)
  • Re: How do I make resize my /s /boot partition for more free disk space?
    ... My very old Debian/Linux workstation/desktop box (first installed it on 9/24/2004 and kept it updated daily and only had one reinstall (accidently ran fsck without unmounting a few years ago) -- still amazing that it runs today) is unable to install the latest Kernel Debian package due to free limited disk space in / partition: ... Partition Table: msdos ... How can I resize my /'s /boot to get more free disk space without getting another bigger HDD to copy over or reinstalling from scratch? ...
    (comp.os.linux.setup)
  • Re: Format hard disk and reinstall XP Home???
    ... A repair install does more or less re-install the entire OS, ... > The most efficient route is to buy software such as Norton Partition Magic ... > When you reinstall XP, erase and reformat the boot partition. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: XP SP2, 250 GIG Maxtor, A7N8X-E DLX, have to enable LBA support, if upgrade / fresh install clai
    ... Reinstalling Windows should not wipe out or alter any data on this drive ... why it would wipe out the drive during the reinstall of Windows. ... > allow partition magic to do it if its connected, wiped,. ... > "enable_large_drive.exe" from maxtor then reconnect. ...
    (microsoft.public.windowsxp.hardware)