RayArdia,
I would suggest booting into Gparted from a live boot or live boot something like Ubuntu so you can do some partitioning. If you have backed up all your files and aren't worried about starting over, I would just delete the partition on /dev/sda1 and making a new Linux partition for 13.04. I'm going to use fdisk, since I'm more familiar with that rather than Gparted which means you would need to live boot Ubuntu, to begin you will need root privileges so use "sudo" (Also note that I'm using sdc as an example, you would type sda):
Code:
sudo fdisk /dev/sdc
You should see "Command (m for help)" and if you press "m" you will see:
Code:
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Since we want to delete the first partition, type "d", I have only one partition on my example drive, but it would ask which partition number 1-4 and you would type "1".
Now we should have three available primary partitions to use. Lets now create a new primary partition, so type "n", then "p" for primary, then "1" for first partition, then take the default first sector by pressing enter, then the default last sector or +size example below:
Code:
Command (m for help): nPartition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-61424639, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-61424639, default 61424639):
Using default value 61424639
On the question about the Last Sector, this is where you specify how large that partition will be. So if you wanted to use the same exact size of your first Ubuntu install, then you would type(We will use 50GB for example):
Code:
Last sector, +sectors or +size{K,M,G} (2048-61424639, default 61424639):+50G
Now we have successfully deleted and created a new partition, so we must now give the partition a type. Type "p" to list the partition, and if the new partition has an ID of 83 and a System of Linux, then you don't have to worry about creating a type, but for the sake of it (Note that you can type "l" to list all the FS types, but for Ubuntu, the Hex code 83 will work.):
Code:
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 83
Now write the changes by typing "w" and now we can begin to make a file system on the new partition so we can use it.
To make a file system, you need to be root so we use "sudo":
Code:
sudo mkfs.ext4 /dev/sdc1
I want to note that I changed the size of my partition so it would format it faster but you will still get similar results. Here is the output of that command:
Code:
mke2fs 1.42.8 (20-Jun-2013)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
2560 inodes, 10240 blocks
512 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=10485760
2 block groups
8192 blocks per group, 8192 fragments per group
1280 inodes per group
Superblock backups stored on blocks:
8193
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
So you should now be able to use that partition! Live boot 13.04, just be sure to install it to the proper partition (/dev/sda1) and I hope that fixes your problem.
Bookmarks