LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 02-20-2009, 03:09 PM   #1
cardeal
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Swap partition error


Hey guys hum Im very nOOb here and Im trying to install Ubuntu and when it partitionates on guided it gives a swap error. No Gparted doesnt work. I have a 500 GB hard disk and its formated. I used the original CD and the alternate CD they both give the same error. I would apreciate any help here...
 
Old 02-20-2009, 03:13 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,330

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
What swap error? What exactly does the error say? Are you installing Ubuntu as the only OS on your system or do you have other OS's installed? How is your hard drive formatted, what filesystem(s)?
 
Old 02-20-2009, 03:14 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,742

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
I would use the Ubuntu cd as a live cd then use the cfdisk or fdisk program to find out what could be wrong with the disk and set up the partitions.

NB I guess Ubuntu does include these tools but didn't check yet.
 
Old 02-20-2009, 03:22 PM   #4
cardeal
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thx for the fast replies! The disk is completely formated( nothing in it) I dont have any other OS instaled. The error is this : "The creation of swap space in partition #5 of SCSI1 (0,0,0) (sda) failed."
 
Old 02-20-2009, 03:38 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,742

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Then try to create the partitions with fdisk or cfdisk instead of the Ubuntu installer.

Unless special needs I would do this:
- create a first partition for /, type 83 or linux (12 G)
- create a second partition for swap, type 82 or linux-swap (1 G)
- create a third partition for /home, type 83 linux (remaining space)

Then you could use something like mke2fs or mkreiserfs to create ext3 or reiserfs file systems in the linux partitions but I guess the Ubuntu installer can do that for you.

To know more before proceeding you can search the Internet for 'man fdisk', 'man cfdisk' etc.
 
Old 02-20-2009, 04:32 PM   #6
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
If the disk is completely formatted, then the installer is not finding any free space. Is it formatted for Windows?
Sounds to me like you need to just delete the partition if there is nothing on it and then make the partitions like the previous poster indicated or just use the installer to make them. Don't let the installer use the whole disk to install on. That is a lot of space. :-)
 
Old 02-20-2009, 07:37 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,937

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Stick a liveCD in, go get this, and post the RESULTS.txt here so we can see what your setup really is.

Last edited by syg00; 02-20-2009 at 07:39 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
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
Swap Partition Error Installing SUSE 9.3 mtn Linux - Newbie 4 07-15-2005 07:19 PM
swap partition error props666999 SUSE / openSUSE 2 11-20-2004 02:36 PM
Strange error reffering partition table and swap Thetargos Linux - General 1 06-19-2003 11:59 AM
Error activating swap partition flyboy320 Linux - General 3 01-31-2002 05:22 AM

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

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