Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Disk geometry for /dev/hda: 0.000-38166.679 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 3686.792 primary ntfs boot
2 3686.792 38162.219 extended lba
5 3686.823 6400.898 logical ext3
6 6400.929 7201.010 logical fat16
7 7201.042 38162.219 logical fat32
(parted) resize 5 3686.823 7201.010
Warning: Partition is being used.
End? [6400.8979]? 7201.010
Warning: Filesystem was not cleanly unmounted! You should e2fsck.
Warning: You requested to resize the partition to 3686.823-7201.010Mb. The
closest Parted can manage is 3686.823-6400.898Mb.
ARGH!!! i can't add partition 6 onto 5 for some reason?!!! any idea's? or could somebody point me in a direction on how to make a boot disk (mine got corrupt ) so i can boot in without the the partition being mounted...maybe that'll help? but then how would i get parted onto that disk because i'd overshoot the capacity of the disk
also, why would it be taking a guess for the end, and place it at its original end, even when i specified otherwise!?
The main thing im trying to achieve is to give my linux partition more space...does anybody else recommend another program maybe?
You can also use Slack cd as a boot disk...
Partition 5 and 6 are different types... If you'd like to add the fat partition to the Liux one, first delete partition 6 (after backup is done) and then add the free space to 5.
i tried what you suggested Mara...
I removed partition 6: rm 6
then tried: resize 5 3686.823 7201.010
well, i got further this time...i rebooted and booted up fine etc...but for some reason, that space has just disappeared!! i did df -h and 100% was still used on the linux partition...i rebooted into windows and checked partition magic, there isn't any unallocated space...that drive in windows (which was blank anyway) has disappeared...
it hasn't added onto the linux partition, its just gone! wtf?!!!!
how can i boot off of the cdrom as if its a bootdisk?
also, ive tried to find images of slackware 8.1 bootdisk's on the net, ive done a search for "Making a Slackware 8.1 Bootdisk" etc, but all that comes up is how they work, not how to make one...could somebody maybe point me in the direction of making one under linux?
also, one that'll have fsck on it too...coz i tried booting off one of those floppy distro's...but it didn't have fsck
ok i booted up with the cdrom to the prompt before you type setup and ran fsck
this is what i got:
fsck 1.26 (3-Feb-2002)
/dev/hda5: clean, 164603/720896 files, 694110/694803 blocks
now, a couple of reboots before i did this, when i started up slacky, a sort of 'scan disk' ran (i think thats what this cmd does too?) and it fixed like 30+ errors...but still, it thinks theres only 2.6gig on that partition! argh!! 800meg has vanished! could it have been that i ran parted while logged in as root, deleted that fat16 partition, didn't restart, then tried to extend the root partition (/dev/hda5) to take the space that the fat16 partition was occupying?
Hmmm... Was the FAT partition mounted when you deleted it? If so, boot from the cd, run parted, make the Linux partition smaller (10-15megs is enough), save, reboot, look for results, if it looks OK boot the cd again and resize it back. You should never resize a partition that's mounted (not only resize... also delete etc).
UPDATE: I've just noticed in Partition Magic back in windows (I thought I had already checked it, but i guess not after that fsck)...Partition Magic is reporting that 3,514.2meg is the size of the partition and 3,5,11.6 is used...then in another column it says: Unused MB 2.6gig, but when i do df -h in linux, it reports only 2.6 gig...still confused...i heard that Partition Magic 8 resizes ext2 partitions, so ill download that in the mean time till somebody replies with how i would run parted once ive booted to the prompt via the cd...
UPDATE: I downloaded and installed partition magic, but it won't resize my FAT32 partition to take off 70meg, and add it onto the Ext3 partition...well it won't even take off the 70 meg
ah well, there goes that idea, hehe...
Last edited by Grim Reaper; 10-29-2002 at 03:40 AM.
umm, its still the same problem, but im yet to try your suggestion of booting in with the cdrom and running parted because i can't see how i can get parted to run...i can't install it because when it boots up off of the cd its only using 5 meg space, with 400kb free...any idea's?