LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2023, 11:04 PM   #31
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590

Code:
sudo mount /dev/nvme0n1p2 /mnt
sudo nano /mnt/etc/fstab
after making changes ctrl-x y to save changes. If you’re not sure post the contents of /mnt/etc/fstab
 
1 members found this post helpful.
Old 12-05-2023, 01:41 AM   #32
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Instead of commenting the whole line in fstab for the external, including mount options noauto or nofail can prevent boot failure that results from a problem with, or absence of, the external.
 
1 members found this post helpful.
Old 12-05-2023, 02:05 AM   #33
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by mrmazda View Post
Instead of commenting the whole line in fstab for the external, including mount options noauto or nofail can prevent boot failure that results from a problem with, or absence of, the external.
To expand on that a bit, the noauto option prevents partitions named in fstab from being automatically mounted at boot. This option is commonly used for things like CDs or plugin devices which will probably not be present at boot time, but it would also prevent the boot process from choking on a mount that was causing problems. The nofail option prevents fail messages from being logged if the device simply isn't found.
 
1 members found this post helpful.
Old 12-05-2023, 04:17 AM   #34
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by hazel View Post
The nofail option prevents fail messages from being logged if the device simply isn't found.
The nofail option prevents failing to reach the default target, instead getting dumped at a shell prompt without normal services like X and network started. To test, add option noacl to an EXTx partition in fstab on any installation with a 6.1 or newer kernel. It's happened to me lots of times in installing a first kernel post-6.0.x on an installation with an EXT2 boot partition for Grub.
 
1 members found this post helpful.
Old 12-05-2023, 09:33 AM   #35
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
4. I created the two partitions via a "Gary Explains" video on youtube, using $ sudo cfdisk /dev/sda
I suspect the original partition on sda listed in fstab no longer exist, henceforth the recommendation to comment out the line in fstab.
 
1 members found this post helpful.
Old 12-10-2023, 11:57 AM   #36
Ladywolf
LQ Newbie
 
Registered: Dec 2023
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
Code:
sudo mount /dev/nvme0n1p2 /mnt
sudo nano /mnt/etc/fstab
after making changes ctrl-x y to save changes. If you’re not sure post the contents of /mnt/etc/fstab
When I put this code into the terminal of the jump drive I used to boot ("try ubuntu"), the fstab seemed empty.

Here is the link to a pic of my terminal after typing that in: https://imgur.com/a/R0id9J4

Am I doing this wrong?

Last edited by Ladywolf; 12-10-2023 at 12:10 PM. Reason: I tried it again and got a different result so I'm updating the comment to be more accurate.
 
Old 12-10-2023, 12:54 PM   #37
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
what is output of
Code:
ls /mnt/etc
 
1 members found this post helpful.
Old 12-10-2023, 01:04 PM   #38
Ladywolf
LQ Newbie
 
Registered: Dec 2023
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
what is output of
Code:
ls /mnt/etc

This is what appears after typing that in: https://imgur.com/a/wJ9NlaH
 
Old 12-10-2023, 01:13 PM   #39
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Ladywolf, as long as you upload to imgur.com, I see none of your images. Images attached here, or to paste sites that don't require scripts enabled, I get to see.
 
1 members found this post helpful.
Old 12-10-2023, 01:24 PM   #40
Ladywolf
LQ Newbie
 
Registered: Dec 2023
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
Ladywolf, as long as you upload to imgur.com, I see none of your images. Images attached here, or to paste sites that don't require scripts enabled, I get to see.
Sorry, I didn't realize that.
Attached Thumbnails
Click image for larger version

Name:	2.jpg
Views:	9
Size:	59.7 KB
ID:	42209   Click image for larger version

Name:	asdf.jpg
Views:	7
Size:	58.0 KB
ID:	42210  
 
Old 12-10-2023, 01:42 PM   #41
Ladywolf
LQ Newbie
 
Registered: Dec 2023
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
Ladywolf, as long as you upload to imgur.com, I see none of your images. Images attached here, or to paste sites that don't require scripts enabled, I get to see.
Here are the previous pictures I posted. Hope this helps! And thanks for reading my thread and thanks in advance for the help!
Attached Thumbnails
Click image for larger version

Name:	2.jpg
Views:	13
Size:	237.0 KB
ID:	42211   Click image for larger version

Name:	asdf.jpg
Views:	7
Size:	123.0 KB
ID:	42212   Click image for larger version

Name:	asdfasd.jpg
Views:	8
Size:	107.9 KB
ID:	42213   Click image for larger version

Name:	dfdsf.jpg
Views:	8
Size:	101.9 KB
ID:	42214  
 
Old 12-10-2023, 01:45 PM   #42
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Those messages indicate most likely either sudo mount /dev/nvme0n1p2 /mnt failed, or was the wrong command was used to attempt to mount the installed system's / filesystem.
 
1 members found this post helpful.
Old 12-10-2023, 01:50 PM   #43
Ladywolf
LQ Newbie
 
Registered: Dec 2023
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
Those messages indicate most likely either sudo mount /dev/nvme0n1p2 /mnt failed, or was the wrong command was used to attempt to mount the installed system's / filesystem.
Sounds good, thank you. So now that we have a possible diagnosis, how would I go about fixing this problem? If possible, be specific because I am still semi-new to linux.
 
Old 12-10-2023, 02:34 PM   #44
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
post the output of the following:
Code:
sudo mount /dev/nvme0n1p2 /mnt
ls /mnt
 
1 members found this post helpful.
Old 12-10-2023, 04:27 PM   #45
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by Ladywolf View Post
Here are the previous pictures I posted. Hope this helps! And thanks for reading my thread and thanks in advance for the help!
Please provide a more useful lsblk -f | grep -v loop, preferably by editing the same post #41, adding the new image, and removing the old lsblk image.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 04:26 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
Help "error: unknown Filesystem" when I restarted my computer and deleted linux? Rayden151 LinuxQuestions.org Member Intro 3 12-19-2011 08:49 AM
Restarted AspireOne, now have an "Item not yet configured" icon/no popup menus/WIFI LazloPearlman Linux - Newbie 1 08-18-2009 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration