LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-01-2004, 07:54 AM   #1
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
Smile Partition on Linux hard drive (after installition)


Hello,
First things first, Thank you for reading this post, and any help given.

OK the problem. I have already installed Suse 9.1 pro onto a 2nd hard drive a WD 120Gb XP home is on a 60Gb hard drive. So in Yast it lookslike this.
dev/hda 57.2gb hds.............
dev/hda1 57.2gb HPFS/NTFS
dev/hdb 111.7gb WD120...........
dev/hdb1 996.1Mb Linux Swap
dev/hdb2 110.8GB Linux Native

So in the 120Gb (hdb) I would like to make a 60 gig partition. I guess that my question is, 'Do I need to worry about were the partition block starts, like you do in Win'?
Oh and one more side question 'Is there anything that I should think about before i do this and is there any forseeable troubles on the way'?
Thank you

Sorry one more thing if someone could explain how hdb and hdb2 can be 111.7GB and 110.8Gb respectively on a 120Gb drive, it would be great. Just for the learning curve. cheers
 
Old 09-01-2004, 08:49 AM   #2
scuffell
Member
 
Registered: Jun 2004
Location: Reading, UK
Distribution: SUSE 9.1, SUSE 9.2, SUSE 9.3, Knoppix 3.8, Gentoo 2005.0, cygwn, colinux
Posts: 100

Rep: Reputation: 15
Right, I can't explain the partitionning (because I'm trying to do exactly the same thing myself and I can't do it lol), but I can explain the second part of the question.

In Linux, the IDE drives are named after their position on the IDE interface:

/dev/hda is the first drive on the first IDE interface
/dev/hdb is the second drive on the first IDE interface
/dev/hdc is the first drive on the second IDE interface
/dev/hdd is the second drive on the second IDE interface.

So when you talk about /dev/hdb you are talking about the whole hard disk, being 111.7GB in size (hard disks are rarely, if ever, exactly the same size as they say on the box of the hard disk). But when you talk about /dev/hdb2 you are talking about a partition on the disk.

SUSE doesn't really explain any of this in the automatic installation, you have to do expert partitioning to learn.

Hope this is what you were after
 
Old 09-01-2004, 09:15 AM   #3
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
Yes where they start matters....
 
Old 09-01-2004, 04:20 PM   #4
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
Darn, so it does matter. Makes life so much more difficult. Linux doesn't have a "defrag" like program does it? Also Big thank you to 'scuffell'. Makes sense.
Oh sorry to do multiple questions on one tread but is there any way of seeing the harddrive, such that you can see where the data is on the hard drive?
Cheers
 
Old 09-01-2004, 06:03 PM   #5
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
check the man pages for <df> and <fdisk>

df -i may be what you are asking for...

or

fdisk -l


Last edited by mikedeatworld; 09-01-2004 at 06:05 PM.
 
  


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
Linux, Partition Magic and Hard Drive Errors philipogletree Linux - Hardware 5 11-22-2005 10:49 AM
access external hard drive linux partition on linux and vice versa garyozzy Linux - Newbie 2 08-03-2005 06:11 PM
Hard drive dying. Need to move Linux partition over. Fear58 Linux - General 3 01-29-2005 05:14 PM
Installing Linux on new hard drive with XP readable partition TheRealNewbie Linux - Newbie 11 12-27-2004 03:43 PM
Want to put my whooole 25GB linux partition on another hard drive... needs help Fear58 Linux - General 1 07-07-2004 09:05 PM

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

All times are GMT -5. The time now is 09:15 PM.

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