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

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
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.

Post by Sayhar »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

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

Post by Husse »

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
deadguy
Level 5
Level 5
Posts: 707
Joined: Wed Aug 15, 2007 9:41 pm
Location: Illinois USA

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

Post by deadguy »

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

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

Post by Husse »

@ 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....
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.

Post by Sayhar »

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?
Locked

Return to “Beginner Questions”