DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can you post the output of the sudo blkid command?
EDIT: As previously mentioned, using /dev/sdxx as the file system type is not recommended as a file system check at boot up will fail.
My original post gave step by step instructions with examples, you've gone this far and still complaining it can't mount. If you want it to auto mount, don't lie, just follow the instructions to a tee.
I fixed that.
thanks for the help. The problem I'm having is that when I try to mount lfs using the instructions it still says it can't find /dev/sda2 And there is no long number. I'm using what the output is.
Code:
sudo blkid
then take that and check it against what you have in your fstab to be sure no type'Os and such
I can get /mnt/lfs to mount. It's the paramaters for lfs that fail. I'd post the complete output but alt 6 is giving me the be
ginning paragraph symbol. I'm using nano. Not sure what else to do. Please be patient. I'm doing the best I can.
BW-userx, I notice you're using different numbers after defaults. Could that create problems?My /etc/fstab
# / was on /dev/sda1 during installation
UUID=f3a3b058-e5a4-49fb-8a04-f7c190e7bec8 / ext4 defaults 0 1
# /home was on /dev/sda3 during installation
#UUID=8b050d2d-ddf2-498e-b5a4-be7bc616b1d1 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=54ee6d31-6f6e-413d-b4e5-ab82c322d522 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
UUID=e55dc00204 /mnt/lfs ext4 defaults 0 1
#/dev/sda2 /mnt/lfs ext4 defaults 0 1
And not every system is Debian either. Using device instead of UUID on Debian testing in December gave me more than one problem, the only problem I remember vividly is the first thing that shows up on screen after selecting from grub menu is the error that a file system check was skipped as it could not mount the file system, and it showed up in dmesg. Going back to using UUID fixed this and another issue I had at the time.
But that is the / partition with errors=remount-ro as options in /etc/fstab, which is what the OP should change the options to when they go to boot their creation so the file system check can be done from the OS that works, as well as the creation. For now those options are not necessary.
I have not a clue what Operating system the OP is using as there appears to be a problem providing adequate information.
EDIT: The other problem I had when using device instead of UUID was that I could not mount the partition from another Linux on the same system or from Debian live, likely because of the file system check failure.
Sorry I'm using a fresh install of Debian. Problem is I didn't install. This is a brand new computer and it came preinstalled. I've installed Debian several times but back then a number of files had to be manually edited. Not sure what it's like now.
I'm thinking about ditching the idea of installing lfs. Except for my printer everything is working. Problem is I have a lot of spare time and I want something challenging to do. This is a touchscreen and that could be difficult to configure. Any suggestions?
I'm thinking about ditching the idea of installing lfs. Except for my printer everything is working. Problem is I have a lot of spare time and I want something challenging to do. This is a touchscreen and that could be difficult to configure. Any suggestions?
Set up git and make your first commit (e.g. bugfix) to any linux package you choose.
I can get /mnt/lfs to mount. It's the paramaters for lfs that fail. I'd post the complete output but alt 6 is giving me the be
ginning paragraph symbol. I'm using nano. Not sure what else to do. Please be patient. I'm doing the best I can.
BW-userx, I notice you're using different numbers after defaults. Could that create problems?My /etc/fstab
# / was on /dev/sda1 during installation
UUID=f3a3b058-e5a4-49fb-8a04-f7c190e7bec8 / ext4 defaults 0 1
# /home was on /dev/sda3 during installation
#UUID=8b050d2d-ddf2-498e-b5a4-be7bc616b1d1 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=54ee6d31-6f6e-413d-b4e5-ab82c322d522 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
UUID=e55dc00204 /mnt/lfs ext4 defaults 0 1
#/dev/sda2 /mnt/lfs ext4 defaults 0 1
here a little something to read up on about fstab and what them numbers are used for.
And not every system is Debian either. Using device instead of UUID on Debian testing in December gave me more than one problem, the only problem I remember vividly is the first thing that shows up on screen after selecting from grub menu is the error that a file system check was skipped as it could not mount the file system, and it showed up in dmesg. Going back to using UUID fixed this and another issue I had at the time.
But that is the / partition with errors=remount-ro as options in /etc/fstab, which is what the OP should change the options to when they go to boot their creation so the file system check can be done from the OS that works, as well as the creation. For now those options are not necessary.
I have not a clue what Operating system the OP is using as there appears to be a problem providing adequate information.
EDIT: The other problem I had when using device instead of UUID was that I could not mount the partition from another Linux on the same system or from Debian live, likely because of the file system check failure.
They must be changing stuff when I used Debian I had no issues with the "old school" way of mounting.
If that is the case for everything Debian not just your system then I am even more happy I left Debian for something else.
now you need to learn html code blocks [ code ] [ /code ] with no spaces ...
/dev/sda2: PARTUUID="e55dc024-02" is missing the rest of it... it is just showing the partition UUID, interesting.
look at and post results of
Code:
fdisk -l /dev/sda
I'm curious how that drive is partitioned out.
it too is out of sequence. 1 , 3 , 4 , 2 like someone deleted then added a partition or partitioned you hard drive in half then added two more partitions off what space was on sda1 some how screwing up sda2 ?
now you need to learn html code blocks [ code ] [ /code ] with no spaces ...
/dev/sda2: PARTUUID="e55dc024-02" is missing the rest of it... it is just showing the partition UUID, interesting.
look at and post results of
Code:
fdisk -l /dev/sda
I'm curious how that drive is partitioned out.
it too is out of sequence. 1 , 3 , 4 , 2 like someone deleted then added a partition or partitioned you hard drive in half then added two more partitions off what space was on sda1 some how screwing up sda2 ?
and out put of fstab
[code]
cat /etc/fstab
Believe it or not I was an admin for a long time on mandrivausers.org. I did updates and pieced together mods using php which I had to figure out on my own.
I'm not kidding when I say I'm rusty' I've forgotten a lot!
Code:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 29296639 29294592 14G 83 Linux
/dev/sda2 29296640 58593279 29296640 14G 83 Linux
/dev/sda3 58593280 1933592575 1874999296 894.1G 83 Linux
/dev/sda4 1933592576 1953523711 19931136 9.5G 82 Linux swap / Solaris
When I had it installed I told them I wanted some extra blank partitions, thet gave me one and a separate /home
The reason t's out of order is because it wasn't there at all and I put it there.
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f3a3b058-e5a4-49fb-8a04-f7c190e7bec8 / ext4 defaults 0 1
# /home was on /dev/sda3 during installation
#UUID=8b050d2d-ddf2-498e-b5a4-be7bc616b1d1 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=54ee6d31-6f6e-413d-b4e5-ab82c322d522 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
UUID=e55dc00204 /mnt/lfs ext4 defaults 0 1
#/dev/sda2 /mnt/lfs ext4 defaults 0 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.