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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-27-2010, 05:56 PM   #1
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
cfdisk issues during installation. "FATAL ERROR"


Hey everyone, I recently decided to give slackware a shot after experimenting with other distributions. I started the install and embarrassingly didn't make it very far... It asked me to partition the hard drive and I chose to use cfdisk (this is because I read it was easiest for people with more of a windows background.) I ended getting a FATAL ERROR! Here is the quote "FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder" Before I tried to install slackware I shrank my windows 7 partition (I am trying to make this a dual boot system.) I thought that having this unallocated space would make the partitioning for the installation go smoothly, but it isn't working out as of yet. Was I wrong in doing that? What should I do to fix this fatal error?
 
Old 07-27-2010, 06:17 PM   #2
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
cfdisk runs in dos-compatible mode, I think.
Windows doesn't use that anymore.

Partition the disk with fdisk (use commands c and u to turn off dos-compatible mode) or set up your partitions with a Gparted live cd
 
Old 07-27-2010, 11:45 PM   #3
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Ok I actually have a GParted live cd laying around here. How would I use that to set up the partitions?

Also, I already have 4 partitions on my computer so it cant create any more of them... the first (/dev/sda1) is labeled as system. The second (/dev/sda2) doesn't have anything under the label section but it is by far the biggest partition with 180 gigs on it (about 57 used up. the third one (/dev/sda3) is labeled as recovery and the fourth one (/dev/sda4) is labeled as HP_TOOLS. They are all ntfs except for HP_TOOLS which is a fat 32. I hope I provided enough information.

Thanks in advance for all of the help guys.
 
Old 07-27-2010, 11:59 PM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
cfdisk should still work. I use it as well an big harddiscs (500 GB).

If you have problem with your partition table, try some old win98 bootdisc. After my experience fdisc used there is the most stable when it comes to recover a bad partition table.
At least it was my rescue once, when I tried to resize a partition with partition magic, which crashed during the process leaving me with a destroyed partition table. Linux's fdisc or cfdisc wouldn't touch the harddisc anymore, quitting with an error message, win 2000 or later cdroms just got a bluescreen. Using an Win98 boot disc I finally could recover my partition table, even without loosing data.

Try something like fdisk /fixmbr, This should to the trick, or run it and just save your partition table then.

Good luck.
 
Old 07-28-2010, 01:51 AM   #5
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by AceOfSpade View Post
Ok I actually have a GParted live cd laying around here. How would I use that to set up the partitions?

Also, I already have 4 partitions on my computer so it cant create any more of them... the first (/dev/sda1) is labeled as system. The second (/dev/sda2) doesn't have anything under the label section but it is by far the biggest partition with 180 gigs on it (about 57 used up. the third one (/dev/sda3) is labeled as recovery and the fourth one (/dev/sda4) is labeled as HP_TOOLS. They are all ntfs except for HP_TOOLS which is a fat 32. I hope I provided enough information.

Thanks in advance for all of the help guys.
I'm pretty sure partition 1 is only needed if you want to encrypt your hard drive with bitlocker.

Partition 2 is probably your Windows C drive

Partition 3 (and maybe 4) are needed to restore Windows. (If you have a Windows 7 dvd, then you probably don't need these)

You can only have 4 primary partitions with an msdos partition table, but if you give up one of those partitions you can create an 'Extended' partition. An Extended partition is basically a primary partition that can be split into many 'Logical' partitions.

So you'll have to delete one of your partitions (either 1, 3, or 4) to make room for an extended partition. Then shrink partition 2.

In the space that you freed by shrinking partition 2, you can create some logical partitions for Slackware. At minimum, you should create a partition for swap and /. Some people like to put /home or other folders on it's own partition, but that's up to you.

Last edited by piratesmack; 07-28-2010 at 01:59 AM.
 
Old 07-28-2010, 07:18 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Welcome to LQ!

Just my .

I would use the M$ Win/7 tools to first defrag the NTFS filesystem. Then use the M$ tools to shrink the partition size to the amount required. You can then use either qparted, cdfisk or fdisk to manage the remaining partition requirements. Be sure to perform a backup before any work on the disk so that you can revert. Plus hopefully you do have any recovery disk sets or install CD/DVD needed.

 
Old 07-28-2010, 11:21 AM   #7
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Thank you so much everyone! I was able to set up everything effectively and just finished the install for slackware! However, when I try to boot it, it just stops where I still see text. It doesn't send me to a desktop Not to mention it tells me to log in, but I never set up any username... so I log in as root and still no desktop It looks like I have some work to do
 
Old 07-28-2010, 11:41 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Have you tried typing at the terminal?
Code:
startx
 
Old 07-28-2010, 12:24 PM   #9
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Rep: Reputation: 16
Quote:
Originally Posted by AceOfSpade View Post
Thank you so much everyone! I was able to set up everything effectively and just finished the install for slackware! However, when I try to boot it, it just stops where I still see text. It doesn't send me to a desktop Not to mention it tells me to log in, but I never set up any username... so I log in as root and still no desktop It looks like I have some work to do
When I first started with Slackware, I bought a paperback copy of the Slackware Essentials 2nd Edition book. It has helped me ALOT ever since! Check it out! =)
 
Old 07-28-2010, 12:30 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

First thing after login as root then run 'adduser' to create account for your user(s). Be sure to add that user to the groups via additional group prompt and pressing up-arrow for suggested groups. You can edit the line via the arrow keys and other line edit keys.
Suggested groups;
Quote:
users floppy audio video cdrom plugdev power netdev
You can then login via the new user on another console.

 
Old 07-28-2010, 06:47 PM   #11
AceOfSpade
Member
 
Registered: Jul 2010
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
Awesome! Thank you all so much for the helpful comments! The community support (which is amazing) is one of the factors that made slackware so attractive to someone like me trying to find the right distro. I really appreciate all of the help and hope to learn enough to be able to contribute to the community one day
 
  


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
CENTOS INSTALLATION "rpmdb PANIC fatal region error detected run recovery" struggled_newbie Linux - Newbie 1 06-21-2010 09:49 PM
Fatal error in FC5 text mode installation after typing "startx" nefret49 Linux - Software 5 06-30-2006 09:33 AM
FATAL error: "Thermal" and "Fan" ibex Linux - Hardware 1 06-22-2006 06:31 AM
cfdisk partitioning "fatal" error ghosttiger Linux - Newbie 10 11-22-2004 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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