LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2007, 11:24 AM   #1
boast
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Rep: Reputation: 0
hard drive size problem


I had debian on a 10gb hard drive. I swapped it for a 20gb hard drive, and used ghost4linux to restore it. But I guess I need to do something to let debian know theres more space?

Code:
orangegum:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             8.8G  3.3G  5.1G  40% /
tmpfs                 252M     0  252M   0% /lib/init/rw
tmpfs                 252M     0  252M   0% /dev/shm

Code:
orangegum:~# fdisk -l /dev/hda

Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2330    18715693+  83  Linux
/dev/hda2            2331        2434      835380    5  Extended
/dev/hda5            2331        2434      835348+  82  Linux swap / Solaris
 
Old 02-11-2007, 11:48 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Hmmm...did you ghost a partition, or the whole drive?

I had thought that ghosting a 10GB partition (or disk) would only fill 10GB on the target drive, but I do not know how ghost4linux works.

Maybe you can boot up from a live CD and use dd to just ghost the mbr and the partition
 
Old 02-11-2007, 11:54 AM   #3
boast
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
Hmmm...did you ghost a partition, or the whole drive?
only hda1 .
 
Old 02-11-2007, 12:01 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Then how did the extended and swap partitions get there??
 
Old 02-11-2007, 12:13 PM   #5
boast
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Original Poster
Rep: Reputation: 0
reinstalled debian first.
 
Old 02-12-2007, 01:55 PM   #6
boast
LQ Newbie
 
Registered: Jan 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Ttt .
 
  


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
Hard drive size needed? bondfan Linux - Newbie 3 02-09-2005 03:51 PM
largest hard drive size teuben Linux - Hardware 2 01-27-2004 08:11 AM
Hard drive size? tgardner Linux - Newbie 4 08-28-2003 09:46 PM
Firewire Hard Drive Size? shiny heed Linux - Hardware 0 03-06-2003 09:16 AM
Hard Drive Size Michael Jones Linux - Newbie 4 01-11-2002 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 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