Install gone wrong

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 12:53 am

I am trying out a few different types of linux and thought I would start with Mint. I have a new 500g drive that I have partitioned into 5 logical partitions using gparted: sda, sda1, sda3, sda4, sda6, sda7 and sda5 (I didn't name them!) sized 84, 84, 84, 79, 165 and 4.3 (swap) respectively. where sda is the physical drive. The 165 drive is going to be for file storage to access across the different distros. I have used the livecd to install on sda1 as "/" and rebooted. After reboot I get this error...

Boot Failure: "error: file '/boot/grub/i386-pc/normal.mod' not found"
grub rescue>

I tried to reinstall with the livecd setting the mount point as "/boot" and I get an error of "No root file system is defined. Please correct this from the partitioning menu."

How do I fix this?

Thanks.
K
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Linux Mint is funded by ads and donations.
 

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 1:18 am

Your info doesn't make much sense
Firstly because Logical partitions go inside a extended primary space

Don't use a /boot partition
Just set grub to mbr that is sda
See; https://dl.dropbox.com/u/10573557/Mint_ ... loader.png
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 1:30 am

I was thinking that the description might be a little confusing.

/dev/sda
/dev/sda1 (84g)
/dev/sda3 (84g)
/dev/sda4 (84g)
/dev/sda6 (79g)
/dev/sda7 (165g-going to use for file storage like docs and music to be able to access across 4 different linux distros)
/dev/sda5 (4.3g)

I have been using for Ubuntu for about 18 months and do not like where they are going with the Amazon "suggestions" so I want to try out other options.

The Mint install I just did is on sda1 with the mount point of "/". I am not very familiar with partitioning as I usually use 1 physical drive per O/S so I am venturing into new territory. Do I need to install "/" on sda1 and "/boot" on sda5?
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 1:45 am

Here is what I suggest

sda1 = primary swap = 2 x RAM

All the remaining space = Extended Partition

Then create all the logicals you want inside the extended space.

Then remember to make sure grub is set to sda as in the image I gave you
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 2:09 am

I'm a little confused here. Are you suggesting that I repartition the entire drive and set sda1 as the swap. I do not understand what you mean by "All the remaining space = Extended Partition." Is that not what I have except for the swap being sda5?
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 2:12 am

Delete all the partitions on the HD
and create a primary for swap = to 2 x your RAM
Then create a extended partition to all the space available
Then create logical partitions in the extended space as you require them
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 2:31 am

Ok, I deleted all the drives, created the sda1 swap. I am looking to create the rest of the drive and I see in your picture that you use Ext4. Earlier today the Mint install used Ext2. Which is better?

Again, my ignorance here. I thought that logical drives are partitions within a physical drive. If the entire drive is setup as a swap and 1 massive partition, isn't the rest of the drive then the logical drive? And how would I then create logical drives within a logical drive?
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 2:41 am

No you are not following

Use gparted to create a swap (it will become sda1) but you need to configure the size of it to what I said

Maybe this will help, play it full screen
https://docs.google.com/open?id=0B3e0lL ... no0YnFLZ3c

The one massive extended is actually a primary and logical partitions go inside it
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 2:55 am

I have a live bootable gparted cd with the boot sequence as cd then hdd. When it boots now with the gparted cd I get the error...

error: file '/boot/grub/i386-pc/normal.mod' not found.
grub rescue>

How do I get it to boot the gparted livecd? (I know it works I used it earlier today)
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 3:02 am

You need to double check everything
Isn't that the same error you reported earlier?

Can you boot any other media? Mint DVD? It had gparted on it FYI
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 3:06 am

I do have a livecd of Mint that works. I am trying the Mint cd, I was right at that point before rebooting with the gparted disk- lol. Booting with the Mint disk, back shortly...
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 3:29 am

Ok, the Mint live cd has a partitioning software that is slightly different than gparted. I was able to deleted all the partitions then create the swap. It does not however give me the ability to create an extended partition. Currently I have...

/dev/sda
/dev/sda1 swap 4499 mb
/dev/sda2 ext4 495606 mb

Should I just break sda2 down into my smaller logical drives as I do not have an option for the "extended" partition with the mint live cd?


It is getting late, I will be back at it in the am. Thank you so much for all your help!!!!!!!

Keith
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 3:38 am

The installer partitioner is different than Gparted
It should be in the software listed in the live session or you can install it

sudo apt-get install gparted

Get it right first time
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 11:43 am

I have deleted everything that gparted would allow. I am attaching a screenshot. There is still a partition of the physical drive that I want to remove as it splits the drive in half.
Attachments
Screenshot.jpg
Screenshot.jpg (64.27 KiB) Viewed 848 times
Last edited by lonewolf69 on Tue Dec 04, 2012 11:52 am, edited 1 time in total.
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 11:46 am

One of the easiest ways to completely clear the drive is to create a New Partition Table > MSDOS

Then partition and format as required
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 12:03 pm

I think we are now in a loop because creating a new table throws me this...

A new partition table cannot be created when there are active partitions. Active partitions are those that are in use, such as a mounted file system, or enabled swap space. Use Partition menu options, such as unmount or swapoff, to deactivate all partitions on this device before creating a new patition table.

Of course Unmount is not enabled. Remember I have the Mint live cd in because I get the grub error when I use the gparted live cd. Suggestions?
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 12:18 pm

Leave the swap as it is
Delete sda2 (extended)
Which should bring together the 2 200GB+ unallocated areas
And create an extended using all that space

So you should end up with an extended like sda2 is now but much bigger
Then you create logical partitions in there
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 12:24 pm

It wont let me delete /dev/sda2, all the options are disabled except "Manage Flags".
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Re: Install gone wrong

Postby caf4926 on Tue Dec 04, 2012 12:43 pm

Can you resize sda 2 to take in that free space?
Image
Mint 16 Cinnamon_64
User avatar
caf4926
Level 7
Level 7
 
Posts: 1746
Joined: Mon Mar 22, 2010 3:21 pm
Location: UK Lake District

Re: Install gone wrong

Postby lonewolf69 on Tue Dec 04, 2012 12:54 pm

No. I plugged in my Ubuntu drive and the new one thinking I could use gparted off that but got the grub rescue error again.
lonewolf69
Level 1
Level 1
 
Posts: 44
Joined: Sun Dec 02, 2012 2:11 am

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: Google Adsense [Bot], markey164, Reorx and 27 guests