LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 05-10-2003, 02:55 PM   #1
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
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.
 
Old 05-10-2003, 02:57 PM   #2
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Sorry. typo. should be:
/dev/hda7 ext3 linux /tmp
/dev/hda8 ext3 linux /.
 
Old 05-10-2003, 05:49 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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 05:50 PM.
 
Old 05-14-2003, 09:40 PM   #4
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
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
 
Old 05-16-2003, 11:58 AM   #5
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Stick and Wasted Space rioch Linux - Hardware 2 03-05-2005 11:58 AM
TO be wasted or NOT to be wasted. ? my-unix-dream Linux - General 5 07-07-2004 07:50 AM
KDE 3.2.1 + QT 3.3 = Day Wasted vi0lat0r Mandriva 2 03-20-2004 03:37 PM
wasted space gonus Linux - General 15 03-03-2003 03:25 PM
Wasted Computer futurist General 11 04-17-2002 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration