Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178008

Re: Fstab Problem

From "Stephen P. Molnar" <s.molnar@sbcglobal.net>
Newsgroups linux.debian.user
Subject Re: Fstab Problem
Date 2017-02-19 23:50 +0100
Message-ID <tcIsN-4KT-9@gated-at.bofh.it> (permalink)
References <tcyWt-7nn-9@gated-at.bofh.it> <tcEIx-2pO-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/19/2017 01:39 PM, Jimmy Johnson wrote:
> On 02/19/2017 04:37 AM, Stephen P. Molnar wrote:
>> This will probably turn out to be a forehead slapping red faced problem,
>> but this used to work.
>>
>> I Had a Debian v-8.x catastrophe and had to reinstall.  I have several
>> hard drives on the computer and, of course the installer only found
>> /dev/sda.
>>
>> Here are the results of blkid:
>>
>> comp@AbNormal:~$ sudo blkid
>> [sudo] password for comp:
>> /dev/sdb1: UUID="d65867da-c658-4e35-928c-9dd2d6dd5742" TYPE="ext4"
>> PARTUUID="0003d403-01"
>> /dev/sdb2: UUID="007c1f16-34a4-438c-9d15-e3df601649ba" TYPE="ext4"
>> PARTUUID="0003d403-02"
>> /dev/sda1: UUID="3a2e7e1d-3365-447b-85c5-f454a2f0b446" TYPE="ext4"
>> PARTUUID="cdf775c6-01"
>> /dev/sda5: UUID="92727ce9-2cff-40f5-b6d0-e9580afdeef3" TYPE="swap"
>> PARTUUID="cdf775c6-05"
>>
>> I edited fstab:
>>
>> # /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=3a2e7e1d-3365-447b-85c5-f454a2f0b446 /               ext4
>> errors=remount-ro 0       1
>> # swap was on /dev/sda5 during installation
>> UUID=92727ce9-2cff-40f5-b6d0-e9580afdeef3 none            swap    sw
>>           0       0
>> /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
>>
>> #UUID=d65867da-c658-4e35-928c-9dd2d6dd5742  /dev/sdb1 ext4
>> errors=remount-ro  0  1
>> #UUID=007c1f16-34a4-438c-9d15-e3df601649ba  /dev/sdb2 ext4
>> errors=remount-ro  0  1
>
> I multi-boot and I like to keep things simple, including grub, I like a
> neat menu.lst and fstab too and I always keep these things backed up
> while installing a new system, this is the way I would do your fstab so
> I can edit sdb1 and sdb2, note no auto mount on sdb1 and sdb2, but you
> can now read and write.
>
> /dev/sda1 / ext4 errors=remount-ro 0 1
> /dev/sda5 none swap sw 0 0
> /dev/sdb1 /mnt/sdb1 ext4 noauto,users,exec,relatime 0 0
> /dev/sdb2 /mnt/sdb2 ext4 noauto,users,exec,relatime 0 0
> /dev/sr0 /media/cdrom udf,iso9660 noauto,users 0 0
>
> If you use the above you will need to make two folders in /mnt named
> sdb1 and sdb2
>
>> What have I missed?
>
> I don't think you missed anything, just didn't know what you where
> doing. :)
>
>> Thanks in advance.
>
> regard,

Not know what I'm doing is nothing new.

That's hardly a useful response.


-- 
Stephen P. Molnar, Ph.D.		Life is a fuzzy set
www.molecular-modeling.net		Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Fstab Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2017-02-19 13:40 +0100
  Re: Fstab Problem Hans <hans.ullrich@loop.de> - 2017-02-19 13:50 +0100
  Re: Fstab Problem Andy Smith <andy@strugglers.net> - 2017-02-19 13:50 +0100
    Re: Fstab Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2017-02-19 14:20 +0100
  Re: Fstab Problem Frank <zuiderduin@gmx.com> - 2017-02-19 14:00 +0100
  Re: Fstab Problem Jimmy Johnson <field.engineer@gmail.com> - 2017-02-19 19:50 +0100
    Re: Fstab Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2017-02-19 23:50 +0100

csiph-web