LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2006, 03:29 PM   #1
john.s
LQ Newbie
 
Registered: May 2006
Posts: 27

Rep: Reputation: 15
Redhat Fedora Core Installation


As of right now this very moment, I'm installing Redhat as we speak and I need some guidance.

Here is where I'm at. Basically I'm going through the following steps that's on redhat's site which is here:

As you can SEE, there is no link shown here because it says I'll have to post up at least 3 posts to post up a link. I find that rediculous, but rules are rules.

If you go there, you will read the following:

"At the prompt, type parted /dev/hdX or parted /dev/sdX (for whichever drive you want to repartition), where X is the partition number of that hard drive"

^ I have no idea what the above means. So yea, I'm stuck right there and I don't know what to do. I only have one hard drive. My local c: drive is 33.6gb

But yea right now I'm installing it right now. If only I could transfer the screenshot I took from the other computer to this laptop I would be easier, but oh well. I'm at the prompt right now and this is how it looks like:

Code:
When finished please exit from the shell and your system will reboot

-/bin/sh-3.00#
After typing parted /dev/hd0 I get the following:

Code:
-/bin/sh-3.00# parted /dev/hd0
Error: Could not stat device /dev/hd0 - No such file or directory.
Retry/Cancel?
^ The above is what I get. I guess I'm still stuck. I don't know what to do.
 
Old 05-25-2006, 04:19 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,986

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
Device IDs for IDE drives:
/dev/hda - 1st controller master
/dev/hdb - 1st controller slave
/dev/hdc - 2nd controller master
/dev/hdd - 2nd controller slave
and so on.

SCSI, Firewire, USB and SATA devices are /dev/sdx where x = a-z. Typically the first device on the first controller recognized will be assigned /dev/sda, the next /dev/sdb and so on.

BTW searching this website and googling might provide faster answers. But then knowing what to search for is half the battle. Welcome to LinuxQuestions.

Last edited by michaelk; 05-25-2006 at 04:22 PM.
 
Old 05-25-2006, 04:20 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,130
Blog Entries: 1

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
If you have only 1 drive (the c: in DOS/Windows) then you should run:
Code:
parted /dev/hda for IDE drives
parted /dev/sda for SATA/SCSI drives
But I'm curious. Doesn't Redhat have a graphical installation?
 
Old 05-25-2006, 06:24 PM   #4
john.s
LQ Newbie
 
Registered: May 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Here's what I did. I typed in parted /dev/hda then once I typed in resize 2 1024 2048 as you see below right before (parted) I get the following error below:

Code:
Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-39205.687 megabytes
Disk label type: msdos
Minor      Start        End             Type            Filesystem      Flags
1         0.031      39197.658        primary           ntfs            boot

(parted) resize 2 1024 2048
Error: Partition doesn't exist.
I know that pretty soon I will do something that will screw up my computer. I have no idea what I'm doing. Someone lend me a hand, please.
 
Old 05-25-2006, 07:21 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,986

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
The 2 means 2nd partition but your only partition is 1.

AFAIK parted can not resize a NTFS partition. I suggest using ntfsresize.
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html
 
Old 05-25-2006, 07:41 PM   #6
john.s
LQ Newbie
 
Registered: May 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ok here's what I got now:

Code:
Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-39205.687 megabytes
Disk label type: msdos
Minor      Start        End             Type            Filesystem      Flags
1         0.031      39197.658        primary           ntfs            boot

(parted) resize 1 0.031
End?  [39197.6582]? 20000
No Implementation: Support for opening ntfs file systems is not implemented yet.
What am I typing wrong?
 
Old 05-25-2006, 07:49 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,329

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
As michaelk pointed out (& the err msg says) parted does not support ntfs partion re-sizing.
Are you trying to dual boot this system with windows?
If not, start from scratch & use the graphical installer instead and tell it to re-format the system.
If you are dual-booting, try a different partition tool. Can't remember which one can handle ntfs, but have a search here; there is at least one.
 
Old 05-25-2006, 07:49 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,986

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
See my other post.
parted does not support NTFS.
 
Old 05-25-2006, 07:51 PM   #9
john.s
LQ Newbie
 
Registered: May 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Ok I understand now. I thought it supported ntfs. Anyway, I'll go search for some programs or maybe I'll go for ntfsresize.

Thanks for the help guys/gals.
 
  


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
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Software 3 08-12-2005 11:18 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Newbie 1 08-11-2005 05:11 PM
Lexmark z23 installation with REDHAT FEDORA CORE 2 samurai Linux - Hardware 3 10-05-2004 02:42 AM
lexmark z23 printer installation with REDHAT FEDORA CORE 2 samurai Linux - General 2 09-04-2004 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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