Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

I have to wait 1 1/2 minutes before my destro

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: I have to wait 1 1/2 minutes before my destro

#46 Post by Dai_trying »

It's difficult to read your posting of your fstab, if you use code blocks it would be easier, and as I mentioned in one of my previous posts you will need to do this in both OS's because you have re-created your swap and it has a different UUID to both OS's.

If you have put the line

Code: Select all

UUID=fa689ea6-abf8-40eb-bad1-82a2fdcbe2af / ext4 0 0
as your swap partition then it is wrong, assuming your swap UUID is fa689ea6-abf8-40eb-bad1-82a2fdcbe2af then the correct line (which could be copied from your other installation) would be

Code: Select all

UUID=fa689ea6-abf8-40eb-bad1-82a2fdcbe2af swap swap sw 0 0

jbander
Posts: 58
Joined: 2011-03-10 19:11

Re: I have to wait 1 1/2 minutes before my destro

#47 Post by jbander »

NFT5 wrote:
jbander wrote:File: /etc/fstab Modified

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=174f0fde-4750-4aaa-af18-0bc589d49936 / ext4 0 1
# / was on /dev/sda5 during installation
UUID=03b0202e-bd12-4d30-b69b-55bccbff70ea / ext4 0 0
# swap was on /dev/sda6 during installation UUID=fa689ea6-abf8-40eb-bad1-82a2fdcbe2af / ext4 0 0 HOW DOES THIS LOOK ? I changed it in fstab
This won't work. You're trying to mount two operating systems at once here and swap to root.

This is how it should look:

Code: Select all

# / was on /dev/sda1 during installation
UUID=174f0fde-4750-4aaa-af18-0bc589d49936 /               ext4      0       1
# Automount swap with changed UUID
UUID=fa689ea6-abf8-40eb-bad1-82a2fdcbe2af none    swap    sw         0      0
SO is the Debian partition ok --# / was on /dev/sda5 during installation
UUID=03b0202e-bd12-4d30-b69b-55bccbff70ea / ext4 0 0

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 598
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: I have to wait 1 1/2 minutes before my destro

#48 Post by NFT5 »

No. There should be no reference to your Debian partition in fstab in Mint. Certainly not with a mount point of "/". You can't mount two file systems to a single mount point - it just won't work.

You need to take out the reference to the partition on which your Debian installation is. When you correct fstab in Debian you'd do the reverse and not include the Mint partition reference, although that shouldn't be there, even now, and all you should have to do is add the line for swap.

See the example I gave you before, which I've since edited. That is how it should look.

jbander
Posts: 58
Joined: 2011-03-10 19:11

Re: I have to wait 1 1/2 minutes before my destro

#49 Post by jbander »

Got you but now I'm out of both of my partitions and I've booted up on a live cd , can't get into either partitions

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 598
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: I have to wait 1 1/2 minutes before my destro

#50 Post by NFT5 »

Is the Live CD Mint with the MATE desktop? If so, open a terminal and enter

Code: Select all

gksu caja
This will open Caja as root. Mount the Mint partition and navigate to /etc/fstab, open the file and make the changes, save and close. You need to be 100% accurate with your typing when entering a line in fstab. Remember that the gaps between entries in a line are not spaces but tabs - this is important.

Alternately use chroot from the command line. Do you know how to do this? If not then the Caja method above will work.

You should then be able to restart Mint.

I'll leave you in the hands of others now. it's 5am here and I need to get some sleep.

User avatar
sunrat
Administrator
Administrator
Posts: 6481
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: I have to wait 1 1/2 minutes before my destro

#51 Post by sunrat »

TL;DR -
- You don't have a swap file listed in fstab, it should have type "swap" not "ext4".
- You have 2 partitions listed as "/". That will never work.
I chose to ignore all the bad manners but it makes me sad.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply