I am having EXACTLY the same problem.I am getting stuck adding and trying to edit etc/fstab. I'm using the "Adding drives to your HDA" work instruction.
The "backup" step step seems to have worked because when I repeat it tells me the files already exist. After that the "make a dummy fstab" step doesn't give the result I expect.
Here is what happens starting at the "make a dummy fstab":
I have the superuser (root) prompt ending with #.
I type in: cp /etc/fstab ~
I hit enter.
I type in: blkid >> ~/fstab
I hit enter. There is a brief pause and I am back to my prompt with the blinking cursor. There is no additional output.
At this point my instruction says "you should have something like this now..." and there is an expmple list of text describing etc/fstab. I don't see anything like this.
I proceeded anyway without seeing the output I expected:
I typed in: nano ~/fstab
I hit enter. I received the message "bash: nano: command not found"
Can't get past this point.
-K
I started out following the Adding a second hard drive to your HDA instructions, but the Setup Disk Mount Order section seems to be based on Ubuntu, rather than Fedora, so I switched to the Adding drives to your HDA instructions that the original poster was following... with the same results. Clearly things aren't going to work when one of the instructions comes back as command not found.
In general I think my partitioning and formatting was completed correctly. I can run hda-diskmount, after which all partitions show in hda/setup/disks/partitions. However, once I reboot they are gone until I re-run hda-diskmount. Clearly a more permanent solution is required.
Unfortunately, bigfoot65's response (quoted below) wasn't very helpful. The original poster said that they weren't able to execute the /etc/fstab editing included in the instructions because nano didn't work. It's debatable if the blkid ~/fstab command worked since the expected output was not produced, but at least the OS recognized the command.
How does one edit or check /etc/fstab when the editor given in the instructions, nano, isn't recognized by the OS?The best thing to do for the drives is to edit /etc/fstab and add the lines for each drive mounted.
A. Check /etc/fstab to ensure the drives are not listed that you are trying to add.
B. Reboot the server so the drives are unmounted.
C. Remount them one at a time, adding to /etc/fstab after each run of hda-diskmount.
D. Once you are done, you can then executeand should not see any errors.Code: Select all
mount-a
I would recommend you also remove all /var/hda/file/drives/drive1, etc before running the hda-diskmount the first time after reboot. As each drive is added, a new drive1, drive2, etc will be created. Those will be your mount points for each drive. Don't be alarmed if they show up as drive4, drive5. It does not matter as long as you put the correct entry in /etc/fstab.
The lines you add to /etc/fstab will look something like this:The wiki shows sdb1 which is not correct. I will have to fix that soon. Your /etc/fstab should have a line for each drive you are mounting. Think of this like a folder that points to the actual drive and it's contents.UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/drive1 ext4 defaults 1 2
Please provide an alternative method of editing /etc/fstab.
Thanks