Fstab file looks like this:

drrummer

Member
Joined
Aug 19, 2021
Messages
32
Reaction score
3
Credits
261
The following is how my fstab file looks. I was thinking of changing the mountpoint of the Windows partition. However, the UUIDs don't exactly match the UUIDs I see in Gparted. Also, why are there reptitions, is this normal ? Thank you.

# /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/nvme0n1p4 during installation
UUID=510adab1-194c-4502-80e3-a0a468ca2366 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
#UUID=D282-B9DE /boot/efi vfat umask=0077 0 1
# /home was on /dev/nvme0n1p6 during installation
UUID=176714ad-6716-43a2-b085-0a4c11ab0cee /home ext4 defaults 0 2
# swap was on /dev/nvme0n1p5 during installation
UUID=62bdb2ac-7363-4915-ac62-63441579e2fc none swap sw 0 0
/dev/nvme0n1p3 /mnt/nvme0n1p3 auto nosuid,nodev,nofail,x-gvfs-show 0 0
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D098-3AEB /boot/efi vfat defaults 0 1
/dev/disk/by-id/usb-Generic_USB_Flash_Disk-0:0 /mnt/usb-Generic_USB_Flash_Disk-0:0 None nosuid,nodev,nofail,x-gvfs-show,noauto 0 0
/dev/sdb1 /mnt/sdb1 none nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Sam,noauto,x-gvfs-name=Samsug%20HDD 0 0
#UUID=D098-3AEB /boot/efi vfat defaults 0 1
#UUID=D098-3AEB /boot/efi vfat defaults 0 1
UUID=D098-3AEB /boot/efi vfat defaults 0 1
 


...is this normal ?

Nope, but is has me intrigued.

G'day @drrummer

1. Could you please give us the output of

Code:
blkid

and

cat /etc/*release

2. Are you still using the Chromebook?

Chris Turner
wizardfromoz
 
Hi Thank you for your reply.

1.

The output of blkid is:


/dev/nvme0n1p1: UUID="D098-3AEB" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="a9206a6d-99e4-4644-8e7f-b183f128ba51"
/dev/nvme0n1p2: UUID="7B6C6F906B5B43A5" TYPE="ntfs" PTTYPE="dos" PARTLABEL="Microsoft reserved partition" PARTUUID="7dd66b3f-6aea-4496-b7d8-cf1180991692"
/dev/nvme0n1p3: LABEL="P3 (Windows)" UUID="65AFDA5A363495C6" TYPE="ntfs" PTTYPE="dos" PARTLABEL="Basic data partition" PARTUUID="ac40835c-fc5e-40ab-8d5b-8a76d5828f8e"
/dev/nvme0n1p4: UUID="510adab1-194c-4502-80e3-a0a468ca2366" TYPE="ext4" PARTUUID="cf392b5d-a520-411e-917b-0f11aa6a0da9"
/dev/nvme0n1p5: UUID="62bdb2ac-7363-4915-ac62-63441579e2fc" TYPE="swap" PARTUUID="acf774d7-bcbf-47e6-96c4-670b9383a5ec"
/dev/nvme0n1p6: UUID="176714ad-6716-43a2-b085-0a4c11ab0cee" TYPE="ext4" PARTUUID="9fb09f3e-b381-430a-81fa-6ff54b3e2ce1"

The output of cat /etx/*release is:

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=20.2
DISTRIB_CODENAME=uma
DISTRIB_DESCRIPTION="Linux Mint 20.2 Uma"
NAME="Linux Mint"
VERSION="20.2 (Uma)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.2"
VERSION_ID="20.2"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=uma
UBUNTU_CODENAME=focal
cat: /etc/upstream-release: Is a directory

2. What Chromebook ?
 
Thanks for that.

2. What Chromebook ?

This one

https://www.linux.org/threads/verify-authenticate.36197/post-133713

I was thinking of changing the mountpoint of the Windows partition.

1. May I ask for what purpose, or what is it you are looking to do?

2. The following lines could be deleted, just to clean up, if you wish, they are only commented, and make no difference to your environment - might be a legacy (leftover) of a previous EFI partition or flash drive

#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1
#UUID=D282-B9DE /boot/efi vfat defaults 0 1

3.
/dev/sdb1 /mnt/sdb1 none nosuid,nodev,nofail,x-gvfs-show,x-gvfs-icon=Sam,noauto,x-gvfs-name=Samsug%20HDD 0 0

looks like you have already performed a mount of some type on another drive, is that so?

4, You could delete one of the lines saying
#UUID=D098-3AEB /boot/efi vfat defaults 0 1

as they are just duplicates.

5. From the fstab output
# /boot/efi was on /dev/nvme0n1p1 during installation
#UUID=D282-B9DE /boot/efi vfat umask=0077 0 1

appears to indicate that that was the original EFI system partition - has something been moved from Computer A to Computer B?

6. You have said

However, the UUIDs don't exactly match the UUIDs I see in Gparted.

... so you will have to give us more detail, if you wish us to compare and provide ideas.

Cheers

Wizard
 
Oh-just figured out how to break up the quote.. No, not using that Chromebook now. I just keep it for times when I break this machinne.
1. May I ask for what purpose, or what is it you are looking to do?
Because...at one point, in an effort to resize partitions, I wholesale c+ved the entire contents of the Windows partition to another drive. Then when I put the contents back to the partition, Windows doesn't appear as an option in the Grub menu.
Furthermore, the drive I used was from an old Windows machine. So now I may have content from that OS there too.
2. The following lines could be deleted, just to clean up, if you wish, they are only commented, and make no difference to your environment - might be a legacy (leftover) of a previous EFI partition or flash drive
Okay. Will do, thank you.
3. looks like you have already performed a mount of some type on another drive, is that so?
Yes. I have some external drives which I have connected from time to time. I might reconnect those and figure out which UUIDs match.
4, You could delete one of the lines saying as they are just duplicates.
I presume you mean 'all but one of the lines' ?
5. From the fstab output


appears to indicate that that was the original EFI system partition - has something been moved from Computer A to Computer B?
The original setup was just a Windows OS. But I installed Linux Mint in dual-boot format.
Other than that, I moved stuff from dev/nvme0n1p3 to an external drive, if I remember correctly, as mentioned above.
6. You have said



... so you will have to give us more detail, if you wish us to compare and provide ideas.
The UUIDs are:
  • D098-3AEB
  • 7B6C6F906B5B43A5
  • 65AFDA5A363495C6
  • 510adab1-194c-4502-80e3-a0a468ca2366
  • 62bdb2ac-7363-4915-ac62-63441579e2fc
  • 176714ad-6716-43a2-b085-0a4c11ab0cee
Cheers

Wizard
Thank you.
 
There aren't that many posts or helpers, so there's generally no need to bump stuff. Folks will have seen your post and those that know will try helping. If the thread goes dead, it often means nobody knows how to help you.
 
There aren't that many posts or helpers, so there's generally no need to bump stuff. Folks will have seen your post and those that know will try helping. If the thread goes dead, it often means nobody knows how to help you.
Fair enough. I just thought a bump might help. Not to worry.
 
Fair enough. I just thought a bump might help. Not to worry.

Don't give up hope. Someone may come along with the answers you need. I read the thread and I am not sure how to help you.
 
It's been my experience (coming to this Forum over the years) if you try to put back an os and the partition that it's on onto the original device that you took it off of : it won't boot because Grub doesn't know about it.

Have you tried updating Grub?
 
Even if you get grub to try and boot from the windows partition now, i doubt that it will successfully do that. Windows does all kinds of obscure stuff with the drive it's insatlled on. A repair might work, but then Windows will mess with the entries on the efi partition and you won't be able to boot linux until you reverted those changes. You'd need to do that without the linux drives present, then when windows is working again, put the linux drive(s) back and change the boot drive back to the one where grub is located.
It might be better to just reinstall Windows on a clean drive (also without the other drive(s) present). You'll end up with a mess otherwise..
 
I presume you mean 'all but one of the lines' ?

Yes, leave the one at the bottom that has no comment.

6. You have said
However, the UUIDs don't exactly match the UUIDs I see in Gparted.

You will need to give us the GParted output or discrepancies so that we can compare.

Cheers

Wizard
BTW I am unbumpable, I get back when I can. :)
 
It's been my experience (coming to this Forum over the years) if you try to put back an os and the partition that it's on onto the original device that you took it off of : it won't boot because Grub doesn't know about it.

Have you tried updating Grub?
Yes, I have. To no avail. I try to find alternative solutions, but I always fear bricking my machine.
 
Yes, leave the one at the bottom that has no comment.

6. You have said


You will need to give us the GParted output or discrepancies so that we can compare.
Here are the 6 partitions:
 

Attachments

  • P1.png
    P1.png
    107.4 KB · Views: 248
  • P2.png
    P2.png
    107.5 KB · Views: 220
  • P3.png
    P3.png
    113 KB · Views: 216
  • P4.png
    P4.png
    111.6 KB · Views: 272
  • P5.png
    P5.png
    108.1 KB · Views: 216
  • P6.png
    P6.png
    117.9 KB · Views: 221
Here are the 6 partitions:
This is my grub file.
Should I uncomment any of these lines ?

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=saved
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
 
Last edited:
This is my grub file.
Should I uncomment any of these lines ?
Looks like you forgot to post your grub file.

BTW, I wrote down all of the partitions in the screenshots you took in post # 17.
 

Members online


Top