LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-05-2004, 02:47 PM   #1
ghosttiger
LQ Newbie
 
Registered: Nov 2004
Distribution: slackware
Posts: 4

Rep: Reputation: 0
cfdisk partitioning "fatal" error


I'm brand new to Slackware and Linux and trying to install as a sole operating system. I got through the booting process, no problems, but when I try to partition my hard drive using 'cfdisk' I get a "fatal error" message and kicked back to the slackware prompt. 'Fdisk' works until I try to write my partitions to hdc in which I get an error. I am unable to open any other hdx's. Could this have to do with a different hard drive that I installed? I tried changing my bios to reflect the new drive. However, maybe I don't understand the primary/secondary slave concept correctly. I appreciate any help.
 
Old 11-05-2004, 03:06 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Welcome to LQ!

Can you explain where your hard drive(s) are located?
Is there one on IDE0 master or slave, IDE1 master or slave?
When you install a new drive you must use a jumper to designate it.
What is the type of your new driver? IDE, SATA, SCSI?
 
Old 11-11-2004, 03:09 PM   #3
ghosttiger
LQ Newbie
 
Registered: Nov 2004
Distribution: slackware
Posts: 4

Original Poster
Rep: Reputation: 0
The drive is a 100GB Ultra ATA, and I entered the specs for the drive under the Primary Master.
 
Old 11-11-2004, 05:13 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Primary Master would be hda Secondary Master should be hdc no?
 
Old 11-11-2004, 07:23 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Quote:
Originally posted by ghosttiger
The drive is a 100GB Ultra ATA, and I entered the specs for the drive under the Primary Master.
/dev/hda = IDE0 master
/dev/hdb = IDE0 slave
/dev/hdc = IDE1 master
/dev/hdd = IDE1 slave

The hard drives have jumpers on them. You should set the
jumpers for master and slave where they match the table
above. And use cfdisk rather than fdisk. You can issue
"cfdisk /dev/hda" or whichever letter is applicable to
partition the drives. They will be formatted later on in the
setup process. If you need more help post back. The hd
designation applies to ATA or ATAPI drives, not SATA or
SCSI drives.
 
Old 11-21-2004, 06:07 PM   #6
ghosttiger
LQ Newbie
 
Registered: Nov 2004
Distribution: slackware
Posts: 4

Original Poster
Rep: Reputation: 0
e2fsck

Thanks for your help. I got through the install process, but I'm receiving an error when I try to boot (so not totally through the install):

*error*
couldn't open /etc/fstab No such file or directory /sbin/e2fsck
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem, then the superblock is corrupt and you might try running e2fsck with an alternate superblock.

An error occured during the root system file check. You will now be given a change to log into the system in single-user mode to fix the problem.
If you are using the ext2 filesystem, running e2fsck -v -y (partition) might help.
**

Any ideas? This is a little foreign to me; I appreciate anyone's input.
 
Old 11-21-2004, 10:13 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Since you haven't installed the operating system yet,
my advice is to run cfdisk, not fdisk. Since I don't know
your computer specs, size of hard drive, or intended
use of the system, it's hard to advise you. However, at
the very least, I would make a root partition, a home
partition, and a swap partition. Use the Slackware CD1
and read the file Slackware-HOWTO (think that name
is correct) and check out that partitioning guideline.
And then when you come to the point during the setup
process, format them as reiserfs rather than ext2. If
you use cfdisk you don't format them until during the
setup process.
 
Old 11-22-2004, 12:06 AM   #8
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
I am in the middle of the install right now.(slackware 10)

I am installing off of DVD I got in linux mag.

At the part where it asks you to enter fdisk or cfdisk--- type "setup"
(from the prompt type setup)

A box will open and you can go through the install that way.
I just set a swap(double my ram)
I set a root partition. ( I think it was hda3)
I set a home partition.

mounted to /usr/local

installed full.

it's still running now.

I hope this helps. I hope I understood your ? right.

i am still very new to linux (Just a disclaimer)

Last edited by DeadPenguin; 11-22-2004 at 12:14 AM.
 
Old 11-22-2004, 04:29 PM   #9
ghosttiger
LQ Newbie
 
Registered: Nov 2004
Distribution: slackware
Posts: 4

Original Poster
Rep: Reputation: 0
I've gone through the install process:

e2fsck ( post #6)

Thanks for your help. I got through the install process, but I'm receiving an error when I try to boot (so not totally through the install):

*error*
couldn't open /etc/fstab No such file or directory /sbin/e2fsck
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem, then the superblock is corrupt and you might try running e2fsck with an alternate superblock.

An error occured during the root system file check. You will now be given a change to log into the system in single-user mode to fix the problem.
If you are using the ext2 filesystem, running e2fsck -v -y (partition) might help.
**

Any ideas? This is a little foreign to me; I appreciate anyone's input.
 
Old 11-22-2004, 08:08 PM   #10
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
This is a great how to, follow this you won't have any problems;
http://www.bitbenderforums.com/vb22/...?postid=311808
 
Old 11-22-2004, 10:54 PM   #11
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Ok this may be a bit goofy, but did you make the first partition of the hard drive bootable. The way I partition, I make the / file-system first, then any other /home, /usr, /boot and leave the rest for swap... Just make sure the first is bootable, if not then lilo can't install, and also always install lilo to the mbr, not the slackware default of first hard drive, this may be one of your problems. Pop in your slackware cd - 2 - "Rescue" and at the prompt type 'bare.i root=/dev/hda1 noinitrd ro' this should boot your linux partiton. Once in there run your 'cfdisk /dev/hda' and see if your hda1 partition is marked bootable. If so then rerun your liloconfig and install it to your mbr. If the partiton is not marked bootable, you will have to start over again and make it bootable.
 
  


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
"FATAL: Unknown capture source type" error from Kismet atlantanewbie Linux - Wireless Networking 2 04-03-2010 05:34 AM
XIO: fatal IO error 04 (connection reset by peer) on X server ":0.0" Kernel 2.6.5 Slackware 15 10-28-2007 11:53 PM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 02:11 PM
Driver "nvidia" causes Fatal Error: no screens found Gamezace Linux - Newbie 3 04-19-2004 05:06 PM
startx will not start xwindows... "XIO: fatal IO error 104" khermans Linux - Newbie 22 01-09-2002 02:50 AM

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

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