Linux Mint fails to start due to an absent partition.
Linux Mint fails to start due to an absent partition.
Hello! You set up Linux Mint alongside Windows 10 using the instructions provided. To create a partition for both systems, you attempted to convert /home from ext4 to fat 32, but faced issues with unmounting or formatting due to it being in use. You switched to Windows and reformatted it as NTFS, yet Linux Mint still wouldn’t boot. After checking the live USB, you formatted the same partition as ext4, but the boot problem persisted. Reviewing the etc/fstab file and comparing it with the partition details from sudo blkid revealed that the partition is actually nvme0n1p9. You found advice on Ubuntu forums suggesting matching the fstab entry to what blkid reports. Now you need to locate and edit the correct fstab line for this specific partition.
Hi Uboatfreak, It seems that either 1) your fstab became corrupted (most likely) or 2) Mint uses some other scheme to mount partitions (very unlikely). In any case, it is not surprising it broke. In my views you made at least three (understandable for a Linux beginner) mistakes: First: always unmount filesystems before doing changes to them. That's why you could not do anything to your /home partition; it is always in use on a booted-up system. To make changes* to it, you need to boot into single-user (root/recovery) state, or use another OS (live Linux system would be easiest) to make the changes. Note: you can not just format it, which brings as to : Second: You tried to format your partition from another OS (Windows). There is no way Linux (or any other OS) can keep track of that, and obviously it will fail (untill you fix things so that the OS is aware of what you made). This is a valid way to change the partition to use, but you need to know what you are doing (such as copy over any data from the old FS to the new one, and update /etc/fstab on the OS which is not running). There is already important data on a /home partition, even if you had not written any user-specific files / documents on it. The default users home directory, for example, which is created during the installation process. There is a third error you made: You assumed you can use any file system. At least FAT32 should not be used for /home. Nor should NTFS (although, it just might be possible somehow). /home is a quite important system which will require all *nix features, like user, group ids and permission. FAT does not support these features, NTFS might support partly equivalent features. There are workarounds but none of them are easy and they are hacky and glued-on on to the FS (i.e. not recomended in any case!). None of these explain why /etc/fstab got corrupted. If you made this via LInux Mints GUI instead of the command line, that could explain; the GUI program got confused about being unable to unmount nor format /home, and truncated the fstab it was in the process of preparing. But I'm just guessing here! EDIT: Also, this could be considered a bug in the GUI, if this really happened. GUIs should have safeguards for this kind of grave user errors! Since you have already formatted your /home partition, I believe it is in this case easiest to re-install Mint. The alternative is, that you just restore /etc/fstab to the current installation. EDIT: But this can be a bit difficult, unless you have a copy of /etc/fstab, so re-install seems to be in order. Also, the guide you linked is not available unless you register on that forum. It is best to stick to official documentation for installation in any case. EDIT: *) Just realised "make changes" sounds a bit stupid here, but probably my thoughts came trough because of context. I actually meant is changes to the partition (such as the fs type, or resetting / formatting the whole fs etc...) Edited April 20, 2018 by Wild Penquin
Hello, Wild Penguin. Apologies for the delayed reply. I experienced a personal emergency the following day and overlooked this for two weeks. Thank you for your helpful explanation! Even a simple instruction like reinstalling Mint gave me a clearer grasp of Linux. I’ll avoid making /home a separate partition this time and will create another one to use alongside Windows. Have a great day!