LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2007, 06:32 PM   #1
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Rep: Reputation: 16
large 500gb hard disk partitioning issue


Hi, this might just be my first real problem with Debian! That's pretty cool as I was a Slackware user since 8.1 before switing to Etch earlier this year and it's been smooth rolling all the way until now. My issue is that I've been running fine on a 120gb IDA disk but recently bought a 500GB SATA drive and am trying to rebuild the system onto it. Windows went on fine, but the partitioning in Debian 4 isn't faring so well.

I aim to set it up thus;
25GB win fat32
25GB linux / ext3
512MB swap
~448gb /mnt/special ext3

i always do the /mnt/special thing by the way, I just like to separate a drive from all OSes. when saying YES to proceed with the above partition plan it does its thing for a wee while but then gives the following error;

"File system is reporting the free space as 1345609 clusters, not 1345617 clusters.
Warning!

Ignore
Cancel"

I am currently having Crunchy Nut Clusters for my supper but I don't think its actually referring to them, hehe! but I'm not sure how to get around this issue. I don't think its anything due to my partitioning plan being rubbish as I had a similar one before, albeing with a smaller 'special' partition.

Any ideas?

Thanks.
 
Old 11-20-2007, 06:40 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
You're recommended to re-install Debian from scratch after installing Win-OS on that SATA disk. That way the kernel picks up the new SATA drive and loads the appropiate modules into the RAM disk. Just copying over your old system isn't going to work, 'cause that RAM disk has the IDE modules loaded...

The alternative could be that you use the IDE disk exclusively for Win-OS and the new SATA disk for Debian. Unless you have other uses for that old disk ofcourse
 
Old 11-20-2007, 06:50 PM   #3
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Original Poster
Rep: Reputation: 16
Oh sorry, I wasn't clear. The idea is that the 120GB IDE disk is kinda dying so i'm reinstalling both windows & Linux onto the clean 500GB SATA disk. only the new SATA disk is currently attached.

"Unless you have other uses for that old disk ofcourse " - what you gettin' at? :P
 
Old 11-20-2007, 07:10 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,684

Rep: Reputation: 124Reputation: 124
Re-use it in another machine. But if it's dying I guess the trashbin would be it's next stop, right?

So, you're re-installing Debian and the installer gives you those errors? That could mean the MBR of the disk might be containing nonsense. To solve that you could either use Win-OS or a Linux Live-CD (Knoppix would do nicely here )

In Win-OS, find yourself the DOS prompt and type: C:\ mbr -f (check if that command is correct, as my latest knowledge about that OS dates from Win 98SE )

In Knoppix, mount the disk and start cfdisk. Configure the required partitions and reboot into the Debian installer. It should pick up the existing partitions which you can allocate as you wish.
 
Old 11-21-2007, 06:08 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,235

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
It has nothing to do with your problem, but is your swap partition not too small? Usually it has to be 2 times your amount of RAM, and I hardly can imagine that you run Linux with only 256 MB. If you do that anyway, you'll want to add more RAM sooner or later. Increasing your partition size is more difficult afterwards. And with a disk that big you really don't have to worry about a gig more or less.

jlinkels
 
Old 11-21-2007, 07:42 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
I think that you need swap to be at least as large as your memory for hibernation to work. The swap partition is where the memory is saved to.
 
Old 11-21-2007, 02:51 PM   #7
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Original Poster
Rep: Reputation: 16
Thanks for the replies, i shouldn't really have posted then gone to bed like that!

I only use 512MB swap as i have 2GB real ram and any rules that say you should have 1.5x-2x the physical ram should really be forgotten by now i think, i only think they should apply to low RAM systems where there is a far greater chance of actually needing any swap. i'm not wasting 4GB on swap space that'll never get used, so i like to sticjk it at 512MB. i can always watch the swap usage in KDE anyway with the system monitor thingy. oh, and i dont use hibernation.

rant over, right, using something else to create the partition sounds good, i had that idea too but was hoping it might be a quicker solution (me being lazy!); maybe it was a known issue with debian and large sata disks or something. i'll look into downloading a partitioner. that fdisk -f formats the MBR or something but i'm kinda foggy on that old stuff too and trust OSS things more now with getting stuff right than windows fdisk. give me cfdisk any day!

thanks, hopefully it'll sort it.
 
Old 11-21-2007, 06:13 PM   #8
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Original Poster
Rep: Reputation: 16
Thanks for all the help, I tried gParted CD but it crashed an ended up using Slackware 11 CD and fdisk to do the partitioning. Slackware is still as tough as old boots then! Got some weird error message about an invalid username during debian installation after that that i hadn't ever got before, maybe it doesn't like '_' underscores in usernames but I'm sure i used them before, oh well. also managed to get that huge 448GB partition writable by normal user and everything, aaaand... just finished copying off the old special 120GB disk. Woohoo!

Thank again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hard Drive Partitioning for Large Hard Drives Matir Linux - General 2 12-26-2006 06:55 AM
need some help partitioning a large (250GB) usb external hard drive vees Linux - Hardware 2 07-04-2006 05:14 AM
problem on large hard disk during install mking007 Linux - Hardware 2 06-25-2006 11:12 AM
using a large hard disk on an old motherboard? caged Linux - Hardware 2 04-30-2004 01:01 PM
Redhat 7.2 freezes on large hard disk bruce_mckinnon Linux - Software 0 03-27-2002 06:55 PM


All times are GMT -5. The time now is 05:20 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration