Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-10-2003, 03:55 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Rep:
|
Wasted sector
Hi.
I installed Linux Redhat, and partitioned the harddisk with diskdruid.
/dev/hda1 -> fat32, windows
/dev/hda5 -> fat32, shared between linux/windows
/dev/hda6 -> swap
/dev/hda7 -> tmp
/dev/hda8 -> windows
Somehow, the start sector of hda6, 7 and 8 was not placed right after the end of previous partition.
I run fdisk after installation, check, and it said
310 sectors not allocated.
Totally, it's only around 150 KBytes.
But I'm curious. How can i reclaim them ? Should I repartitioned the harddisk ?
Thanks.
|
|
|
05-10-2003, 03:57 PM
|
#2
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
|
Sorry. typo. should be:
/dev/hda7 ext3 linux /tmp
/dev/hda8 ext3 linux /.
|
|
|
05-10-2003, 06:49 PM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Crap like that drives me nuts - "I don't care if it's 5K - I don't want a hole in my drive!" *g* If it's swap and has nothing valuable, just use fdisk to delete it and put it back bigger. Possibility it will freak Windows out though, I'm not sure. You *can* delete and recreate partitions with data on them, but it's risky.
- edit - Part was dumb. Maybe all of it is. *g*
Last edited by slakmagik; 05-10-2003 at 06:50 PM.
|
|
|
05-14-2003, 10:40 PM
|
#4
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
|
I reinstalled the Linux,
repartitioned the partition /dev/hda6 - /dev/hda8,
the same problem still happened.
Is the problem has correlation with :
* LBA or not LBA. Currently the LBA is not set
* the end sector of hda5. What should it end up compare to physical disk layout (sectors/track, tracks, etc) ?.
* the position of hda2 (the logical partition that contains hda5-hda8)
Thanks
|
|
|
05-16-2003, 12:58 PM
|
#5
|
Member
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251
Rep:
|
I suppose that /dev/hda2 (primary) needs a sector to store info related to the logical partitions. I don't know if that's what is reported as unallocated.
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|