LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
LinkBack Search this Thread
Old 08-28-2006, 03:56 AM   #1
rich_not
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Partitioning 40GB hdd


Hi all

I am trying to install a black screen Slackware 10.2 from a cd (downloaded iso image).

I have a Pentium III with 40 GB hdd and 128 MB RAM. When I go through the installation process I end up with a 1.9GB partition mounted as / and a swap partition. I first created a linux swap partition and then I used all available when creating my main linux partition.

Where did the other 38GB go?

Any suggestions as to where to read up or research this.

Many thanks in advance

Richard
 
Old 08-28-2006, 06:21 AM   #2
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
hello :-)
the problem with your partitioning.
in slackware a nice harddisk partition program called 'fdisk'
in command prompt (after booting from installation cd) give the command 'fdisk /dev/hda' (supposing you have only one IDE HDD).
the program will run in a prompt, the next part you have to do delve into a bit detail, try to follow instructions in the slackware installation disk (there is a file something like install-help, i cannot recall exactly, where you can find help for fdisk).

you can also type 'cfdisk' for a menu version of fdisk. fdisk is a bit confusing for a new user, but once you learn it, you must must love this nice program.
 
Old 08-28-2006, 08:56 AM   #3
rich_not
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply

I did use fdisk to create the partitions on the disk. fdisk would only recognize the first 2GB on the disk and I could not create a larger partition. I did not try cfdisk.

Richard
 
Old 08-28-2006, 11:14 AM   #4
kfritz
Member
 
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 34

Rep: Reputation: 10
Check the jumper settings on your HD

I have a disk (can't remember if it was the 10Gb or the 40Gb) that has a jumper that limits it to 2Gb. Take a look at the label and see if that's your problem. Maybe there's a bios setting for this as well.

Hope this helps...
 
Old 08-28-2006, 11:48 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 9,367
Blog Entries: 1

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
Quote:
Originally Posted by rich_not
Thanks for the reply

I did use fdisk to create the partitions on the disk. fdisk would only recognize the first 2GB on the disk and I could not create a larger partition. I did not try cfdisk.

Richard
Hi,

When you boot the system with the install cd, do the following;
Code:
#fdisk -l          #show disks
This will provide the recognized disks partition information.

You could use either fdisk or cfdisk. If you use cfdisk, what do you see for total space? Do you have something else installed on the HD? Like M$ XP and forgot to delete it or shrink the XP OS partition?

What does your BIOS show the HD as?
 
Old 08-29-2006, 12:19 AM   #6
rich_not
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Gary

Thanx for the reply

I had Win98 on the machine before (40GB was all there).

I used fdisk to erase all partitions first (FAT). There is only one drive in the machine so there was no confusion there.

I created a Linux Swap partition first of 256MB. I then created a Linux partition using the balance of what was presented (I think as number of cylinders or such).

I then installed Slackware and went through the configuration of what I needed etc. I found I only had 400MB left.

I then went back to fdisk to make sure there was no free space available for partitioning - nothing.
I checked the bios - the drive was recognized as a 40GB drive.

Still confused

Richard
 
Old 08-29-2006, 07:36 AM   #7
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Show us the fdisk -l
 
Old 08-29-2006, 08:33 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 9,367
Blog Entries: 1

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
Quote:
Originally Posted by rich_not
Gary

Thanx for the reply

I had Win98 on the machine before (40GB was all there).

I used fdisk to erase all partitions first (FAT). There is only one drive in the machine so there was no confusion there.

I created a Linux Swap partition first of 256MB. I then created a Linux partition using the balance of what was presented (I think as number of cylinders or such).

I then installed Slackware and went through the configuration of what I needed etc. I found I only had 400MB left.

I then went back to fdisk to make sure there was no free space available for partitioning - nothing.
I checked the bios - the drive was recognized as a 40GB drive.

Still confused

Richard
Hi,

Please post the fdisk -l.
As root;

Code:
#fdisk -l >fdisk_txt          #redirect to file that you post
Just post the fdisk_txt so we can see the information. I think the problem is that the partition table was not actually updated properly. I like to create my partitions via fdisk do a write to the disk and after I quit fdisk then do a reboot. This will insure that the partition table for the disk is actually updated.

I will then create the filesystem for each partition before an install. If I do the install in this manner then I can perform a little more checking on the partition(s). It's a habit from the old days of SMD drive systems. We use too certify(bad block) a disk after format therefore less chance of error.

With linux the mke2fs -c /dev/hd* will format and check for bad blocks. Do a 'man mke2fs' to see the switches.

Another suggestion would be to look at my sig item #12 or just select.
 
Old 08-30-2006, 01:39 AM   #9
jmbrink26
Member
 
Registered: Aug 2006
Posts: 72

Rep: Reputation: 15
Hi, yeah, I agree. If you could get the fdisk -l info, that would really help.

Even if you were to boot the Win98 floppy or CD, and then choose "Install using CD Support" or something like that (it's been a while since I've used it ). Then, go the the DOS version of FDISK, and then delete all partitions from the MBR.

Sometimes the MBR doesn't get cleared automatically, so instead of just FDISK, type this command 3 times:
fdisk /mbr

That will clear out the entire MBR. There may be some other partition table on your MBR that you're not even aware of.

Give that a shot too, and you should be good. And yeah, you might find cfdisk easier to use. Hope all this helps.

Thanks,

Justin
 
Old 08-30-2006, 11:46 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 9,367
Blog Entries: 1

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
Quote:
Originally Posted by jmbrink26
Hi, yeah, I agree. If you could get the fdisk -l info, that would really help.

Even if you were to boot the Win98 floppy or CD, and then choose "Install using CD Support" or something like that (it's been a while since I've used it ). Then, go the the DOS version of FDISK, and then delete all partitions from the MBR.

Sometimes the MBR doesn't get cleared automatically, so instead of just FDISK, type this command 3 times:
fdisk /mbr

That will clear out the entire MBR. There may be some other partition table on your MBR that you're not even aware of.

Give that a shot too, and you should be good. And yeah, you might find cfdisk easier to use. Hope all this helps.

Thanks,

Justin
Hi,

Sorry, but to use msdos fdisk with the /mbr switch will only restore from the original dos partition table (backup) not clear the mbr. Only then if the partition table is still available. DOS will complain no disk if everything is garbled.
 
Old 08-31-2006, 12:53 AM   #11
rich_not
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Guys

I decided to try another *nix flavour. It found and partioned 40GB on first try.

On my previous post I mentioned I had deleted the FAT partition, this I did by booting on the Win98 CD and running its fdisk. All partitions were gone. Yes, I did check by rebooting on the CD again and running fdisk to make sure all partitions were gone.

At my first try using FreeBSD I was able to produce partitions that added up to 40GB. I will go that route for now.

Thanks all for your attempts.

Unfortunately I cannot post the results of: fdisk -l
as the drive has been repartitioned now.

Richard
 
Old 09-19-2006, 09:52 PM   #12
dogged28
Member
 
Registered: Jul 2006
Location: Lubbock, Tx.
Distribution: Ubuntu Dapper Drake
Posts: 184

Rep: Reputation: 30
if your using windows fdisk for fat, that fdisk will only see so may gig, it's either four or ten i think. boot to a:do the fdisk /mbr three times. then fdisk and enter, hit #4 for partition information, esc, #3 to delete partition (rtfs). esc again and reboot. back at the a: format c:, yes. then boot with the distro cd and start the install. i know this is a little late but still info to consider. i'm a windows brat untill a few months ago and when i here fdisk, i think of dos and not linux.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sarge 3.1r2 will not create file system on Western Digital 40Gb laptop HDD roofrack Debian 2 08-30-2006 01:44 AM
Florida TG motherboard with a 40gb hdd jmill_1 Mandriva 4 09-21-2004 02:01 AM
Sunami External USB 2.0 HDD caddy, Hitachi 40gb drive nickpye Linux - Hardware 1 02-16-2004 05:36 PM
RAID 1 on 2*40GB hdd, what is the best solution? Ivan Slackware 0 01-15-2004 06:38 AM
Installing GHL on 40Gb HDD atc24amit Linux - General 1 02-26-2003 02:44 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration