UbuntuThis forum is for the discussion of Ubuntu 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.
After the new image is successfully tested, but this isn't going to help the OP much.
It only takes a few minutes to make a partition backup, so I would do these quite regularly in the initial stages, not waiting until the system was fully tested, particularly if the testing process might take a while and a lot will be modified during it.
Out of interest, why do you think it is not going to help the OP much?
I added 'you know who' to my ignore list, yet I continue to see his posts. I tried sending a message to 2 moderators about it, but the messages are not sent ??
Documents, yes. I would hold off on your scripts for the moment, just try and run a clean system for a while. What you certainly don't want to do for the moment is restore any of your old /home directory - if you can build it up from new by installing and configuring then that would be a better approach given the problems you've experienced.
Macrium Reflect don't do a Linux version as far as I know, the bootable media boots a Windows PE. However, it's what I used when I was a Windows guy and it does the job well so I still use it. There are certainly other Linux options (CloneZilla Live is often mentioned on here).
I never restore my home directory. I don't even know who to do it.
It only takes a few minutes to make a partition backup, so I would do these quite regularly in the initial stages, not waiting until the system was fully tested, particularly if the testing process might take a while and a lot will be modified during it.
Out of interest, why do you think it is not going to help the OP much?
They either won't take advice, or just don't understand what they're told. Look at any of their other threads...running "chown" on a bunch of system directories, and not being convinced that was the cause of numerous other problems/booting issues/permissions issues. Being asked by me, and a BUNCH of other folks including moderators and Jeremy to post details...this thread is a great example. Nothing about the users system, post things that just don't make sense with each other ("boots to black screen", then "ran systemctl"...???????), with no context behind them, and when asked, don't actually and logically walk through what's been done.
Chances are, things will get shoveled back over the fresh install, and the 'problems' will be back to where they were. Can't troubleshoot, if you can't logically walk through steps and answer questions.
Documents and scripts are fine, since they're just data. But if you try to restore your ENTIRE home (as said), things could go south quickly. As said before; start fresh, so any system problems will be VERY evident. If, after you move your data/scripts back, you start having problems...you know where the problem is.
I would like to post my scripts so folks can see any problems.
But I can not attach a zip file.
I would like to make a change to fstab so that sdb1 automatically mounts.
Is the last line in fstab o.k. ?
Code:
# /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/sda1 during installation
UUID=c52f0645-8b56-4805-9697-e9c3424d4ce8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d3b14b0b-c2ba-4494-8fa2-c99067b9483f none swap sw 0 0
UUID="b3b0f384-9e2e-45f5-8995-932f1113f59d /SDB1_Mountpoint ext3 errors=remount-ro 0 1
I would like to make a change to fstab so that sdb1 automatically mounts.
Is the last line in fstab o.k. ?
Code:
# /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/sda1 during installation
UUID=c52f0645-8b56-4805-9697-e9c3424d4ce8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d3b14b0b-c2ba-4494-8fa2-c99067b9483f none swap sw 0 0
UUID="b3b0f384-9e2e-45f5-8995-932f1113f59d /SDB1_Mountpoint ext3 errors=remount-ro 0 1
I have rebooted several times with no problems. :-)
Excellent news. :-) Remember to take it easy when making new changes - take a note of what you do and try to be reasonably sure that what are you going to do is the right thing (by researching and asking) and isn't going to possibly break your system. Be a wee bit cautious in particular about any changes that necessitate being root user to do so.
Keep your system up to date with regular apt update and apt upgrade combinations, and make regular backup images, particularly if you are about to make many and/or fundamental changes to your system, so that you can revert back easily. That way you should have a greater chance of maintaining a working system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.