How do I unset 'nosuid' and 'nodev' options on a newly mounted partition?
Hi all,
This is my first post here. I am a brand new linux user. I am working through the LFS tutorial and I have hit a snag with which I was hoping y'all could help me. In section 2.4 the tutorial reads: "Ensure that this new partition is not mounted with permissions that are too restrictive (such as the nosuid or nodev options). Run the mount command without any parameters to see what options are set for the mounted LFS partition. If nosuid and/or nodev are set, the partition will need to be remounted." But when I type "mount", I get a lot of stuff, but I don't see the partition that I thought I mounted (sda6). Here is the output: Code:
tracy@comp1:/mnt/lfs$ mount Code:
tracy@comp1:/$ Thanks, Tracy |
df /mnt/lfs
|
First off, there is a dedicated LFS forum here where you're likely to get better help - click the "Report" button on your initial post and ask to have the thread moved.
Quote:
And what are you using for a build system - Ubuntu ?. |
Quote:
Thanks for the suggestion. I'll request a move. I have gone through several tutorials and read through several hundred pages of background material. I am using Ubuntu. Also I am a software developer for General Motors, so I am fairly familiar with computers. I have written about a dozen applications, although they were in c/c++/vb/java on windows, including my own speech recognition system. But as far as working with linux, other than the tutorials on the terminal and a few others about linux kernels, I am new to linux. |
OK, for Ubuntu you'll need to append "sudo " (no quotes) to most of the commands you'll be using to get sufficient authority to run the command. Like so
Code:
sudo mount -v -t ext4 /dev/<xxx> $LFS For your mount problem the first place to look is the kernel message ring - dmesg does that for you. The following will print the last 20 lines - use it after any command (or action like plugging in a USB) to get an idea of what may have happened. Code:
dmesg | tail -20 Manpages are your friend - use "q" (no quotes) to quit. Code:
man man |
Hi you would have to make sure your path is set to LFS
Code:
export LFS=/mnt/lfs Code:
echo $LFS |
Thanks guys. Finally got it.
|
If your problem is solved it is good manners to say exactly what solved your problem and mark your thread as SOLVED
|
Quote:
|
All times are GMT -5. The time now is 11:44 AM. |