UPDATED NEW PROB.Deleted partition, Mint is unhappy on boot.

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 how to get help
Sayhar
Level 2
Level 2
Posts: 61
Joined: Sun Aug 05, 2007 6:17 pm

UPDATED NEW PROB.Deleted partition, Mint is unhappy on boot.

Postby Sayhar » Sat Jun 28, 2008 3:30 pm

Hi all.

So I'm running mint on /dev/sda2, and set it to automount /dev/sda4 and /dev/sda5

I deleted /dev/sda4 and /dev/sda5.

Now, every time I restart the computer, Mint throws and error and talks about missing the UUID's of those partitions. I can ignore it with control-D, but is there a way to remove this annoyance every time I turn 0n my laptop?
Last edited by Sayhar on Sun Jun 29, 2008 2:14 pm, edited 1 time in total.

Husse
Level 23
Level 23
Posts: 19594
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Deleted a partition, now Mint is unhappy on boot.

Postby Husse » Sat Jun 28, 2008 3:41 pm

There surely is - you need to do a little editing
Once booted do the following

Code: Select all

gksu gedit /etc/fstab

Delete or comment out the lines referring to the partitions
If, quite unexpectedly, there are none please post back
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
deadguy
Level 5
Level 5
Posts: 710
Joined: Wed Aug 15, 2007 9:41 pm
Location: Illinois USA
Contact:

Re: Deleted a partition, now Mint is unhappy on boot.

Postby deadguy » Sat Jun 28, 2008 3:46 pm

Sayhar wrote:Hi all.

So I'm running mint on /dev/sda2, and set it to automount /dev/sda4 and /dev/sda5

I deleted /dev/sda4 and /dev/sda5.

Now, every time I restart the computer, Mint throws and error and talks about missing the UUID's of those partitions. I can ignore it with control-D, but is there a way to remove this annoyance every time I turn 0n my laptop?


you can take the deleted partitions out of fstab.

first back up fstab just in case:

Code: Select all

sudo cp /etc/fstab /etc/fstab~bkp


then:

Code: Select all

gksudo gedit /etc/fstab


remove the lines for /dev/sda4 and /dev/sda5
save the file and you should boot normally again.

<edit> oops Husse beat me to it :D

Husse
Level 23
Level 23
Posts: 19594
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Deleted a partition, now Mint is unhappy on boot.

Postby Husse » Sun Jun 29, 2008 10:11 am

@ deadguy
This is one of quirks of this forum
My post is posted 8:41 and yours 8:46 and still you did not see it
I see this now and then so there is some kind of delay....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

Sayhar
Level 2
Level 2
Posts: 61
Joined: Sun Aug 05, 2007 6:17 pm

Re: Deleted a partition, now Mint is unhappy on boot.

Postby Sayhar » Sun Jun 29, 2008 12:38 pm

Thanks, but now I have a new problem.

The actual error says something like l-

"error: sda2 metadata says it should be size X, but in reality the size on disk is Y. "

and then tells me to login as root to fix, I don't know the root password (since it's randomized because of Elyssa's security hole), and then the laptop restarts and the whole process starts over again.

I have access to a livecd. what can I do to fix please?


Return to “Newbie Questions”

Who is online

Users browsing this forum: cecilieaux, Fred Barclay, killer de bug and 7 guests