[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 15 Oct 2002 9:39 pm, Neil Williams wrote:
I want to reduce the size of the windows partition and merge that 1Gb with the root partition of RH7.2 Output is now: Disk geometry for /dev/hda: 0.000-5729.062 megabytes Disk label type: msdos Minor Start End Type Filesystem Flags 1 0.031 1027.595 primary FAT boot, lba 2 1027.595 1090.349 primary ext3 3 2094.412 5475.278 primary ext3 4 5475.278 5726.293 extended 5 5475.309 5726.293 logical linux-swap
parted then gave:
Warning: The kernel was unable to re-read your partition table, so you need to
reboot before mounting any modified partitions. You also need to reinstall
yourboot loader before you reboot (which may require mounting modified
partitions).
It is impossible do both things! So you'll need to boot off a rescue disk,
and
reinstall your boot loader from the rescue disk. Read section 4 of the Parted
User documentation for more information.
That worked OK with a boot floppy.
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 3.2G 2.1G 1.0G 68% /
/dev/hda2 61M 5.7M 51M 10% /boot
/dev/hda1 1.0G 728M 299M 71% /mnt/windows
none 58M 0 57M 0% /dev/shm
OK, after checking on the LUG archive, I've got ext2resize but I can't
actually work out how to implement it!
ext2resize v1.1.17 - 2001/03/18 for EXT2FS 0.5b
usage: ext2resize [-d] [-f] [-i] [-q] [-u] [-v] [-V] device new_size[bkmgt]
-d, --debug : turn debug info on
-f, --force : skip checks
-q, --quiet : be quiet (print only errors)
-u, --unsafe : skip buffer cache flushing
-v, --verbose : be verbose
-V, --version : print version and exit
new_size is in ext2 blocks (1k, 2k, or 4k) (default),
disk Blocks (512 byte), Kilo-, Mega-, Giga-, or Terabytes
So would it be /dev/hda3 4.2G ?
The ext2resize program does not manipulate the size of the
device. If you wish to enlarge a filesystem, you must make
sure you expand the underlying device first. This can be
done using fdisk(8) for partitions, by deleting the parti
tion and recreating it with a larger size (assuming there
is free space after the partition in question).
Maybe not.
So /dev/hda3 can't be enlarged to include the spare space BEFORE the starting
cylinder?
- --
Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9rIK3k7DVr6iX/QIRAgMjAJwIyy69Oo7gPtxogalMsIn+eZLbpwCfaMMa
2W/CiV6XM6nOHS1qlt026Pc=
=ZxJD
-----END PGP SIGNATURE-----
--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.