How to automatically mount at boot? [duplicate]
This question already has an answer here:
Permanently mounting loop device
1 answer
I have a file, called "some.img", created with fallocate, that has a filesystem on it. I can mount the img file using mount -o loop some.img /media/where, and I see the filesystem. When I reboot, however, the file is no longer mounted.
How do I automatically mount this at boot?
Update: SuSE Linux
linux mount loop-device
marked as duplicate by Kusalananda, Community♦ 1 hour ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Permanently mounting loop device
1 answer
I have a file, called "some.img", created with fallocate, that has a filesystem on it. I can mount the img file using mount -o loop some.img /media/where, and I see the filesystem. When I reboot, however, the file is no longer mounted.
How do I automatically mount this at boot?
Update: SuSE Linux
linux mount loop-device
marked as duplicate by Kusalananda, Community♦ 1 hour ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago
add a comment |
This question already has an answer here:
Permanently mounting loop device
1 answer
I have a file, called "some.img", created with fallocate, that has a filesystem on it. I can mount the img file using mount -o loop some.img /media/where, and I see the filesystem. When I reboot, however, the file is no longer mounted.
How do I automatically mount this at boot?
Update: SuSE Linux
linux mount loop-device
This question already has an answer here:
Permanently mounting loop device
1 answer
I have a file, called "some.img", created with fallocate, that has a filesystem on it. I can mount the img file using mount -o loop some.img /media/where, and I see the filesystem. When I reboot, however, the file is no longer mounted.
How do I automatically mount this at boot?
Update: SuSE Linux
This question already has an answer here:
Permanently mounting loop device
1 answer
linux mount loop-device
linux mount loop-device
edited 1 hour ago
Kusalananda
134k17255418
134k17255418
asked 1 hour ago
activedecayactivedecay
1428
1428
marked as duplicate by Kusalananda, Community♦ 1 hour ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Kusalananda, Community♦ 1 hour ago
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago
add a comment |
1
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago
1
1
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
Essentially, add the following to /etc/fstab:
/path/to/file /path/to/mount ext4 loop 0 0
As described in
https://superuser.com/questions/799162/permanent-loop-device
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Essentially, add the following to /etc/fstab:
/path/to/file /path/to/mount ext4 loop 0 0
As described in
https://superuser.com/questions/799162/permanent-loop-device
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Essentially, add the following to /etc/fstab:
/path/to/file /path/to/mount ext4 loop 0 0
As described in
https://superuser.com/questions/799162/permanent-loop-device
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Essentially, add the following to /etc/fstab:
/path/to/file /path/to/mount ext4 loop 0 0
As described in
https://superuser.com/questions/799162/permanent-loop-device
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Essentially, add the following to /etc/fstab:
/path/to/file /path/to/mount ext4 loop 0 0
As described in
https://superuser.com/questions/799162/permanent-loop-device
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 1 hour ago
Kusalananda
134k17255418
134k17255418
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 1 hour ago
Rusty WeberRusty Weber
1262
1262
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Rusty Weber is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1
binarytides.com/ubuntu-automatically-mount-partition-startup may be helpful if you are using Ubuntu or a derivative. Perhaps you could click on edit and tell us which *ix you use, by adding that to your original question?
– K7AAY
1 hour ago
Yeah, @Kusalananda, it solved my problem. But man was this answer hard to look for. I didn't really know that I needed to look for "loop device permanence" because my symptoms were that my mount (whatever it was I dunno) was disappearing after a reboot.
– activedecay
1 hour ago
@activedecay I search this site for "loop device permanently"... it was the 1st hit.
– Kusalananda
1 hour ago