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


Groups > linux.debian.user > #230807

Re: Add a hard drive to existing system??

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Add a hard drive to existing system??
Date 2021-01-18 21:20 +0100
Message-ID <ByJah-CA-3@gated-at.bofh.it> (permalink)
References (1 earlier) <Bylrk-2Y2-13@gated-at.bofh.it> <Byp1U-5dA-15@gated-at.bofh.it> <ByyHU-2KF-9@gated-at.bofh.it> <Byz1g-2QP-15@gated-at.bofh.it> <ByJai-CA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2021-01-18 09:33, Jerry Mellon wrote:
> The fstab with the new drive now reads,
> 
> # /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=7748059d-ecc3-42ba-919b-e95202920927
> /               ext4    errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> UUID=5efd2441-adab-4d4f-9356-9671964198f7
> none            swap    sw              0       0
> /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
> 
> # sdb1 ext4         e68b74c4-1cee-43a6-8ce6-50e97a65d976
> 
> UUID=e68b74c4-1cee-43a6-8ce6-
> 50e97a65d976   /data     ext4     errors=remount-ro 0        2
> jerry@UNIX:~\>

Much better.  :-)


Here is an example console session.  I set PS1 in my Bash profile to 
print a blank line, print useful contextual information, and then print 
the prompt.  This makes it easier to read, understand, and/or reproduce 
the session:

2021-01-18 12:01:50 root@tinkywinky ~
# cat /etc/debian_version
9.13

2021-01-18 12:13:41 root@tinkywinky ~
# uname -a
Linux tinkywinky 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) 
x86_64 GNU/Linux

2021-01-18 12:13:43 root@tinkywinky ~
# grep PS1 .profile
export PS1='\n\D{%Y-%m-%d %H:%M:%S} '${USER}'@\h \w\n\$ '


David

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


Thread

Add a hard drive to existing system?? Jerry Mellon <jfmellon@netscape.net> - 2021-01-17 20:00 +0100
  Re: Add a hard drive to existing system?? Alain D D Williams <addw@phcomp.co.uk> - 2021-01-17 20:00 +0100
    Re: Add a hard drive to existing system?? Joe <joe@jretrading.com> - 2021-01-17 20:20 +0100
  Re: Add a hard drive to existing system?? Charles Curley <charlescurley@charlescurley.com> - 2021-01-17 21:20 +0100
  Re: Add a hard drive to existing system?? "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-01-17 21:20 +0100
  Re: Add a hard drive to existing system?? Jerry Mellon <jfmellon@netscape.net> - 2021-01-17 23:50 +0100
    Re: Add a hard drive to existing system?? Dan Ritter <dsr@randomstring.org> - 2021-01-18 00:00 +0100
      Re: Add a hard drive to existing system?? Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-18 00:20 +0100
        Re: Add a hard drive to existing system?? Dan Ritter <dsr@randomstring.org> - 2021-01-18 00:40 +0100
        Re: Add a hard drive to existing system?? Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-18 08:50 +0100
    Re: Add a hard drive to existing system?? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-18 09:00 +0100
    Re: Add a hard drive to existing system?? Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-18 10:10 +0100
      Re: Add a hard drive to existing system?? David Christensen <dpchrist@holgerdanske.com> - 2021-01-18 10:30 +0100
        Re: Add a hard drive to existing system?? David Christensen <dpchrist@holgerdanske.com> - 2021-01-18 21:20 +0100
          Re: Add a hard drive to existing system?? Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-19 07:40 +0100
  Re: Add a hard drive to existing system?? David Christensen <dpchrist@holgerdanske.com> - 2021-01-18 10:10 +0100

csiph-web