Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sda3 is an extended partition, which contains logical partitions, you can't write data to sda3, and even more so, df only shows mouted partitions.
adding the space to sda1 wouldn't be fun, you'd need to look into parted or a similar tool to move other partitions, but i'd be more interested with sda5 - what is that all about?
Because that's what it is. They were invented by M$ when win95 came out...
Just look at the partition table itself, for example yours extended partition goes up to 17849 cylinders, which is the capacity of the disk, but the last partition ends at 8236, so you've got half your drive still unpartitioned.
zeus:~ # fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 146.8 GB, 146813222912 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 638 5124703+ 83 Linux
/dev/sda2 * 639 663 200812+ 83 Linux
/dev/sda3 6931 17849 87706867+ f W95 Ext'd (LBA)
/dev/sda4 6539 6930 3148740 82 Linux swap
/dev/sda5 6931 8236 10490413+ 83 Linux
Command (m for help): n
First cylinder (8237-17849, default 8237):
Using default value 8237
Last cylinder or +size or +sizeM or +sizeK (8237-17849, default 17849):
Using default value 17849
Command (m for help): p
Disk /dev/sda: 146.8 GB, 146813222912 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 638 5124703+ 83 Linux
/dev/sda2 * 639 663 200812+ 83 Linux
/dev/sda3 6931 17849 87706867+ f W95 Ext'd (LBA)
/dev/sda4 6539 6930 3148740 82 Linux swap
/dev/sda5 6931 8236 10490413+ 83 Linux
/dev/sda6 8237 17849 77216391 83 Linux
Partition table entries are not in disk order
Looks like it created a new /dev/sda6 partition. I didn't save it for I fear of losing data. Would it be safe to go ahead with this one?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.