[arch-general] New install second drive issue

pete pg.nikolic1 at gmail.com
Mon Sep 16 10:55:29 UTC 2019


On Mon, 16 Sep 2019 11:18:59 +0200
Khorne via arch-general <arch-general at archlinux.org> wrote:

> On September 16, 2019 10:45:18 AM GMT+02:00, pete via arch-general
> <arch-general at archlinux.org> wrote:
> >Morning folks 
> >
> >I have just done a complete new install on a new drive , That is all
> >working now fine .
> >
> >My problem comes when trying to include another drive on the system ,
> >it just refuses to boot fully , I get a message unable to mount sda2 
> >now sda2 mounts  ,
> >/dev/sda2 on / type xfs (rw,relatime,attr2,inode64,noquota)
> >
> >when just the one drive is in the system  but as soon as i connect it
> >refuses to to boot fully and drops out to an emergency shell that is
> >locked up solid i.
> >
> >I have set the working drive in the bios this is an older motherboard
> >with an AMD Phenome quad core CPU .
> >
> > $ lsblk
> >NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> >sda      8:0    0  1.8T  0 disk 
> >├─sda1   8:1    0  300M  0 part /boot
> >├─sda2   8:2    0   40G  0 part /
> >├─sda3   8:3    0    4G  0 part [SWAP]
> >└─sda4   8:4    0  1.8T  0 part /home
> >sr0     11:0    1 1024M  0 rom  
> >
> >the drive order in the bios is set correctly not that it makes much
> >difference these days  .
> >
> >I am stuck right now i need to be able to include the old drive to
> >recover data from it  .
> >
> >Any ideas  folks ..
> >
> >Pete .  
> 
> Hi Pete,
> 
> Can you add your fstab?
> I would hazard a guess and claim that if you use device names in
> fstab (sdXY) that your newly plugged in drive takes that name and
> isn't a valid rootfs.
> 
> Preferably, you would use UUIDs in fstab.
> 
> Regards,
> Khorne

hi  Fstab ..

# /dev/sda2
UUID=318fa89a-22b9-4bdd-92a1-1e9b3f070cb3       /               xfs
        rw,relatime,attr2,inode64,noquota       0 1

# /dev/sda1
UUID=78aca2f9-6dbd-4e21-9f4d-dae59b8c1a4f       /boot           ext2
        rw,relatime     0 2

# /dev/sda4
UUID=b17ea3f0-c632-46b1-9c78-4f1aeb8773c7       /home           xfs
        rw,relatime,attr2,inode64,noquota       0 2

# /dev/sda3
UUID=a755fa7c-93ff-4ccb-bcd6-47560bd54cee       none            swap
        defaults        0 0



Hope that helps .

Thanks Pete .


More information about the arch-general mailing list