Boot confusion
Jack McGee
jack at greendesk.net
Thu Jun 10 21:50:59 UTC 2021
On 6/7/21 5:09 PM, Liam Proven wrote:
> And we have the partitions on the 2nd, bigger SSD mounted, again with
> confusing names.,
>
> So there is quite a mess of stuff on disks 3-5, including another
> bigger SSD, a huge HDD with your home directory, which isn't on disk
> #2 after all, and an old 30GB disk as well?
>
> Re changing the boot device -- OK, fair enough, I believe you know,
> seeing the complexity of this setup and the NFS mounts!:-)
>
> I reckon it might be worth your while to remove one small element of
> complexity and repartition the small SSD as DOS/MBR instead of GPT.
> You have enough spare space! :-o
Ok fair enough, it was a mess. I had this inventory of physical disks
in the machine.
2tb spinning disk
1tb spinning disk (this is where grub lives)
250 gig SSD (current root filesytem)
14tb spinning disks (current home directory is here).
1tb SSD (has one empty EXT4 filesystem filing the drive currently, but
nothing is stored on it.)
I have removed the only disk I can right now, the 2tb spinning disk.
I have tried to label the partitions, and mount points correctly.
I want to get grub and root filesystem on the 1tb SSD.
> jack at Desktop:~$ sudo sfdisk -l
> [sudo] password for jack:
> Disk /dev/loop0: 9.9 MiB, 9531392 bytes, 18616 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop1: 9.9 MiB, 9531392 bytes, 18616 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop2: 98.99 MiB, 103772160 bytes, 202680 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop3: 55.43 MiB, 58114048 bytes, 113504 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop4: 140.68 MiB, 147492864 bytes, 288072 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop5: 55.46 MiB, 58142720 bytes, 113560 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop6: 161.42 MiB, 169254912 bytes, 330576 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop7: 141.4 MiB, 148254720 bytes, 289560 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/sda: 12.75 TiB, 14000519643136 bytes, 27344764928 sectors
> Disk model: ST14000NM001G-2K
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disklabel type: gpt
> Disk identifier: FFABDDFA-5602-417A-AD0F-C61D2DC3D249
>
> Device Start End Sectors Size Type
> /dev/sda1 6398676992 27344762879 20946085888 9.8T Linux filesystem
> /dev/sda2 2048 22527 20480 10M BIOS boot
> /dev/sda3 3250528256 6398676991 3148148736 1.5T Linux swap
>
> Partition table entries are not in disk order.
>
>
> Disk /dev/sdc: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
> Disk model: Samsung SSD 870
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0xbb50c287
>
> Device Boot Start End Sectors Size Id Type
> /dev/sdc1 2048 1953523711 1953521664 931.5G 83 Linux
>
>
> Disk /dev/sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
> Disk model: SAMSUNG HD103SI
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x1d1810dd
>
> Device Boot Start End Sectors Size Id Type
> /dev/sdb1 * 63 1376528246 1376528184 656.4G 7 HPFS/NTFS/exFAT
> /dev/sdb2 1376528382 1953523711 576995330 275.1G 5 Extended
> /dev/sdb5 1718511616 1943887871 225376256 107.5G 83 Linux
> /dev/sdb6 1943889920 1953523711 9633792 4.6G 82 Linux swap
> / Solaris
> /dev/sdb7 1376528384 1704552447 328024064 156.4G 83 Linux
> /dev/sdb8 1704554496 1718505471 13950976 6.7G 82 Linux swap
> / Solaris
>
> Partition table entries are not in disk order.
>
>
>
>
> Disk /dev/sdd: 232.91 GiB, 250059350016 bytes, 488397168 sectors
> Disk model: Samsung SSD 860
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 562DD49D-AE00-454E-BF2D-B86CD24573E2
>
> Device Start End Sectors Size Type
> /dev/sdd1 2048 488396799 488394752 232.9G Linux filesystem
>
>
> Disk /dev/loop8: 99.18 MiB, 103993344 bytes, 203112 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop9: 218.102 MiB, 229629952 bytes, 448496 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop10: 2.17 MiB, 2273280 bytes, 4440 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop11: 162.89 MiB, 170778624 bytes, 333552 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop12: 50.98 MiB, 53432320 bytes, 104360 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop13: 138.93 MiB, 145657856 bytes, 284488 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop14: 64.79 MiB, 67915776 bytes, 132648 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop15: 219 MiB, 229638144 bytes, 448512 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop16: 84 KiB, 86016 bytes, 168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop17: 140.67 MiB, 147488768 bytes, 288064 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop18: 65.1 MiB, 68259840 bytes, 133320 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop19: 295.62 MiB, 309968896 bytes, 605408 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop20: 51.4 MiB, 53522432 bytes, 104536 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop21: 295.32 MiB, 309661696 bytes, 604808 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
>
>
> Disk /dev/loop22: 2.24 MiB, 2342912 bytes, 4576 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
and
> jack at Desktop:~$ sudo mount
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type devtmpfs
> (rw,nosuid,noexec,relatime,size=8036336k,nr_inodes=2009084,mode=755)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1619736k,mode=755)
> /dev/sdd1 on / type ext4 (rw,relatime,errors=remount-ro)
> securityfs on /sys/kernel/security type securityfs
> (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
> tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
> cgroup2 on /sys/fs/cgroup/unified type cgroup2
> (rw,nosuid,nodev,noexec,relatime,nsdelegate)
> cgroup on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
> cgroup on /sys/fs/cgroup/memory type cgroup
> (rw,nosuid,nodev,noexec,relatime,memory)
> cgroup on /sys/fs/cgroup/pids type cgroup
> (rw,nosuid,nodev,noexec,relatime,pids)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/hugetlb type cgroup
> (rw,nosuid,nodev,noexec,relatime,hugetlb)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
> cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
> (rw,nosuid,nodev,noexec,relatime,perf_event)
> cgroup on /sys/fs/cgroup/rdma type cgroup
> (rw,nosuid,nodev,noexec,relatime,rdma)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16428)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
> mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
> debugfs on /sys/kernel/debug type debugfs
> (rw,nosuid,nodev,noexec,relatime)
> tracefs on /sys/kernel/tracing type tracefs
> (rw,nosuid,nodev,noexec,relatime)
> sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
> /var/lib/snapd/snaps/canonical-livepatch_98.snap on
> /snap/canonical-livepatch/98 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/core_11081.snap on /snap/core/11081 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> fusectl on /sys/fs/fuse/connections type fusectl
> (rw,nosuid,nodev,noexec,relatime)
> configfs on /sys/kernel/config type configfs
> (rw,nosuid,nodev,noexec,relatime)
> /var/lib/snapd/snaps/core18_2066.snap on /snap/core18/2066 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/canonical-livepatch_99.snap on
> /snap/canonical-livepatch/99 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/core18_1997.snap on /snap/core18/1997 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/chromium_1608.snap on /snap/chromium/1608 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-28-1804_128.snap on
> /snap/gnome-3-28-1804/128 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-26-1604_102.snap on
> /snap/gnome-3-26-1604/102 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/core_11167.snap on /snap/core/11167 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-34-1804_66.snap on
> /snap/gnome-3-34-1804/66 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-system-monitor_148.snap on
> /snap/gnome-system-monitor/148 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-28-1804_145.snap on
> /snap/gnome-3-28-1804/145 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/snap-store_542.snap on /snap/snap-store/542 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/chromium_1589.snap on /snap/chromium/1589 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gtk-common-themes_1514.snap on
> /snap/gtk-common-themes/1514 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-34-1804_72.snap on
> /snap/gnome-3-34-1804/72 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/ncdu-kz6fittycent_18.snap on
> /snap/ncdu-kz6fittycent/18 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-3-26-1604_100.snap on
> /snap/gnome-3-26-1604/100 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gtk-common-themes_1515.snap on
> /snap/gtk-common-themes/1515 type squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/vlc_2288.snap on /snap/vlc/2288 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/snap-store_518.snap on /snap/snap-store/518 type
> squashfs (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/vlc_2103.snap on /snap/vlc/2103 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> /var/lib/snapd/snaps/gnome-system-monitor_157.snap on
> /snap/gnome-system-monitor/157 type squashfs
> (ro,nodev,relatime,x-gdu.hide)
> /dev/sda1 on /home type ext4 (rw,relatime)
> /dev/sdb1 on /mnt/ntfs type fuseblk
> (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
> /dev/sdb7 on /mnt/1tblinux1 type ext4 (rw,relatime)
> /dev/sdb5 on /mnt/1tblinux2 type ext4 (rw,relatime)
> tmpfs on /run/snapd/ns type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1619736k,mode=755)
> nsfs on /run/snapd/ns/canonical-livepatch.mnt type nsfs (rw)
> 192.168.1.105:/mnt/media4 on /mnt/media4 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> 192.168.1.105:/mnt/media1 on /mnt/media1 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> 192.168.1.105:/mnt/media5 on /mnt/media5 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> 192.168.1.105:/mnt/media7 on /mnt/media7 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> 192.168.1.105:/mnt/media6 on /mnt/media6 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> 192.168.1.105:/mnt/media3 on /mnt/media3 type nfs4
> (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.31,local_lock=none,addr=192.168.1.105)
> tmpfs on /run/user/1000 type tmpfs
> (rw,nosuid,nodev,relatime,size=1619732k,mode=700,uid=1000,gid=1000)
> gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> pcloud on /tmp/.mount_pcloudwbTBgS type fuse.pcloud
> (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> pCloud.fs on /home/jack/pCloudDrive type fuse
> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
More information about the ubuntu-users
mailing list