Hi All:
I have two questions here, the first is that I remember reading (somewhere) that you need a line in fstab to allow the boot process to continue if the drive is not present, I just do not remember what that line was, or where I saw it. Does anyone know it?
The second is about designating a file for, let's say, downloaded files. I know how to set the location, but is there a way set a sequence? That is, for example, go to "Downloads" on dev/sdb, if not present, then use "Downloads" on dev/sda.
Thanks.
Questions on using extra drives -RESOLVED
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Questions on using extra drives -RESOLVED
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Questions on using extra drives
Trying to figure out what you are trying to do.
Re: Questions on using extra drives
I'm thinking that is not necessary. It is automatic with the bios boot order. It just keeps going to the next one until it finds something to boot.I remember reading (somewhere) that you need a line in fstab to allow the boot process to continue if the drive is not present
No - I don't know any way to do that.The second is about designating a file for, let's say, downloaded files. I know how to set the location, but is there a way set a sequence? That is, for example, go to "Downloads" on dev/sdb, if not present, then use "Downloads" on dev/sda.
- Lady Fitzgerald
- Level 15
- Posts: 5819
- Joined: Tue Jan 07, 2020 3:12 pm
- Location: AZ, SSA (Squabbling States of America)
Re: Questions on using extra drives
The "line" you are looking for is "nofail". I have a wonderful memory but, since it is shorter than the attention span of a cat, I made myself a tutorial on how to make an fstab entry. You can also use it to edit and entry:WHVW wrote: ⤴Fri Oct 22, 2021 5:11 pm Hi All:
I have two questions here, the first is that I remember reading (somewhere) that you need a line in fstab to allow the boot process to continue if the drive is not present, I just do not remember what that line was, or where I saw it. Does anyone know it?...
Automounting Data Drives Using Fstab
1. Go to File System (click on Home in Menu, then click on File system in left panel).
2. Right click on Media and Open as Root.
3. Create folder named with drive label.
4. Copy UUID for drive from Disks and paste into a temporary Writer document.
5. Open terminal and type:
sudo nano /etc/fstab
Then hit enter.
5. In new screen that pops up, start a new line after the last existing line and type:
UUID=(paste UUID here without parentheses)(TAB)/media/(folder name)(TAB)ext4(TAB)defaults, nofail(TAB)0(TAB)0
6. Press CTRL+o
7. Press ENTER to save.
8. Press CTRL+x to exit.
9. Restart the machine.
Here is an example of how the line should look:
UUID=123ec4fd-54e2-4590-8a4b-da43630efd72 /media/Data1 ext4 defaults,nofail 0 0
Jeannie
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
Re: Questions on using extra drives
Hi:
Lady Fitzgerald: Thank you for the fstab redux; it will save me some searching and swearing later.
GELvdH : What I am trying to achieve is using a different drive for file storage than for the operating system. Ultimately, I would like to have a separate, central storage server, so that no particular computer would have critical amounts of data on it.
Which leads me to ask: can fstab be configured with an IP address? In other words, could a fstab configuration look something like this: 192.168.1.103 /home/Documents? I know the syntax isn't right, but you get the idea.
Thanks
Lady Fitzgerald: Thank you for the fstab redux; it will save me some searching and swearing later.
GELvdH : What I am trying to achieve is using a different drive for file storage than for the operating system. Ultimately, I would like to have a separate, central storage server, so that no particular computer would have critical amounts of data on it.
Which leads me to ask: can fstab be configured with an IP address? In other words, could a fstab configuration look something like this: 192.168.1.103 /home/Documents? I know the syntax isn't right, but you get the idea.
Thanks
- Lady Fitzgerald
- Level 15
- Posts: 5819
- Joined: Tue Jan 07, 2020 3:12 pm
- Location: AZ, SSA (Squabbling States of America)
Re: Questions on using extra drives
That's funny because my tutorial was the result of much searching and swearing.
Jeannie
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
To ensure the safety of your data, you have to be proactive, not reactive, so, back it up!
Re: Questions on using extra drives
Notice you can use ext4 only if that partition has ext4 filesystem so better use auto instead. To avoid this and another problems (as leaving spaces after comma) you can do all that stuff easily with Disks.
Select disk on the left and the partition you want to auto-mount on the right. Then click on wheels icon downside>Edit Mount options Switch off User session default And complete as desire (mount point on the folder you want,etc) Click in OK when finish (you will asked for password), the line in fstab is created and that partiton will be automounted on starting.
Select disk on the left and the partition you want to auto-mount on the right. Then click on wheels icon downside>Edit Mount options Switch off User session default And complete as desire (mount point on the folder you want,etc) Click in OK when finish (you will asked for password), the line in fstab is created and that partiton will be automounted on starting.
Last edited by Jo-con-Ël on Sat Oct 23, 2021 7:09 pm, edited 1 time in total.
Arrieritos semos y en el camino nos encontraremos.
Re: Questions on using extra drives
Jo-con-Ël:
Now that's what I call cool. I never knew "Disks" could do such tricks. Thank you.
Now that's what I call cool. I never knew "Disks" could do such tricks. Thank you.