Choose style:

Author Topic: Best way to partition USB-HD of 4 TB  (Read 1303 times)

0 Members and 1 Guest are viewing this topic.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25659
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Best way to partition USB-HD of 4 TB
« Reply #15 on: February 17, 2018, 06:43:29 pm »
From within Linux on the internal drive, what's the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
blkid
and the contents of
Code: [Select]
xed /boot/grub/grub.cfg
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline paulus

  • Member
  • ***
  • Posts: 175
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 + 9
Re: Best way to partition USB-HD of 4 TB
« Reply #16 on: February 17, 2018, 06:54:03 pm »
sudo fdisk

Code: [Select]
paul@paul-peppermintos7 ~ $ sudo fdisk -l
[sudo] wachtwoord voor paul:
Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 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
Disklabel type: dos
Disk identifier: 0x000a9663


Apparaat   Op.     Start     Einde  Sectoren   Size Id Type
/dev/sda1           2048 186199313 186197266  88,8G 83 Linux
/dev/sda2      186202110 488396799 302194690 144,1G  5 uitgebreid
/dev/sda5      471724032 488396799  16672768     8G 82 Linux wisselgeheugen
/dev/sda6  *   186202112 471721983 285519872 136,2G 83 Linux


Partition table entries are not in disk order.








Disk /dev/sdb: 3,7 TiB, 4000752599040 bytes, 7813969920 sectors
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: 4865526C-7BEB-4B27-AB53-B807047D2E1F


Apparaat        Start      Einde   Sectoren   Size Type
/dev/sdb1        2048  781435641  781433594 372,6G Microsoft basic data
/dev/sdb2  1953495040 3906988031 1953492992 931,5G Linux filesystem
/dev/sdb3  3906988032 5860481023 1953492992 931,5G Linux filesystem
/dev/sdb4  5860481024 6837225471  976744448 465,8G Linux filesystem
/dev/sdb5  6837225472 7813967871  976742400 465,8G Linux filesystem
/dev/sdb6   781436928  976930815  195493888  93,2G Linux wisselgeheugen


Partition table entries are not in disk order.




Disk /dev/sdc: 29,8 GiB, 32015122432 bytes, 62529536 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
Disklabel type: dos
Disk identifier: 0x002e505c


Apparaat   Op. Start    Einde Sectoren  Size Id Type
/dev/sdc1  *    2048 62529535 62527488 29,8G  7 HPFS/NTFS/exFAT




Disk /dev/sdd: 14,5 GiB, 15597568000 bytes, 30464000 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
Disklabel type: dos
Disk identifier: 0x7cca07e9


Apparaat   Op.   Start    Einde Sectoren  Size Id Type
/dev/sdd1  *      2048  9676799  9674752  4,6G  c W95 FAT32 (LBA)
/dev/sdd2      9676800 30463999 20787200  9,9G 83 Linux
paul@paul-peppermintos7 ~ $
blkid
Code: [Select]
paul@paul-peppermintos7 ~ $ sudo blkid
[sudo] wachtwoord voor paul:
/dev/sda1: UUID="6e68a332-2e86-498e-a85c-76e0bb95ea9e" TYPE="ext4" PARTUUID="000a9663-01"
/dev/sda5: UUID="9ae27c0f-87c8-4154-b9df-af94dc4e1997" TYPE="swap" PARTUUID="000a9663-05"
/dev/sda6: UUID="8d224716-540d-4dbe-b1aa-60f3e1ab922e" TYPE="ext4" PARTUUID="000a9663-06"
/dev/sdb1: UUID="5d5099ef-1295-4770-a8c0-8ee0c3eec7d5" TYPE="ext4" PARTLABEL="Linux" PARTUUID="3d0a7047-046e-495f-abba-1a1cb5b8910f"
/dev/sdb2: UUID="aef6e2f4-c2d7-4ac2-a49b-1e269debbf35" TYPE="ext4" PARTLABEL="Backups" PARTUUID="6c57379f-112f-40f5-a134-ca0d79bebeed"
/dev/sdb3: UUID="bddf7ea1-2dae-4046-b486-a67a9b2cce52" TYPE="ext4" PARTLABEL="VMs" PARTUUID="be19b4bc-1b98-4082-a2f4-bd75a3dbf26c"
/dev/sdb4: UUID="daa37ecd-cddd-40d1-9db3-9a912f5ee1ce" TYPE="ext4" PARTLABEL="ISOs" PARTUUID="328c38d3-8419-49eb-8ac6-7c5878847d84"
/dev/sdb5: UUID="2992426f-2090-433f-b6c8-681220dc62e2" TYPE="ext4" PARTLABEL="Temp" PARTUUID="e9f95130-4b4c-42ed-a0fe-20cb2f37d520"
/dev/sdb6: UUID="fedadf63-4dcc-40fa-85a7-5ca1cfb2f6cc" TYPE="swap" PARTUUID="7294bdc3-20d6-43be-831f-22e79157371d"
/dev/sdc1: PARTUUID="002e505c-01" /dev/sdd1: LABEL="KNOPPIX" UUID="14FC-0A70" TYPE="vfat" PARTUUID="7cca07e9-01"
/dev/sdd2: PARTUUID="7cca07e9-02"
paul@paul-peppermintos7 ~ $
xed /boot/grub/grub.cfg
Code: [Select]
paul@paul-peppermintos7 ~ $ xed /boot/grub/grub.cfg
Opdracht ‘xed’ niet gevonden, bedoelde u:
 Opdracht ‘ed’ uit pakket ‘ed’ (main)
 Opdracht ‘zed’ uit pakket ‘zfs-zed’ (universe)
 Opdracht ‘med’ uit pakket ‘ncl-ncarg’ (universe)
 Opdracht ‘xfd’ uit pakket ‘x11-utils’ (main)
 Opdracht ‘jed’ uit pakket ‘jed’ (universe)
 Opdracht ‘xxd’ uit pakket ‘vim-common’ (main)
 Opdracht ‘xjed’ uit pakket ‘xjed’ (universe)
 Opdracht ‘xev’ uit pakket ‘x11-utils’ (main)
 Opdracht ‘xep’ uit pakket ‘pvm-examples’ (universe)
 Opdracht ‘xen’ uit pakket ‘xen-utils-common’ (universe)
 Opdracht ‘sed’ uit pakket ‘sed’ (main)
 Opdracht ‘xsd’ uit pakket ‘mono-devel’ (main)
 Opdracht ‘xd’ uit pakket ‘xd’ (universe)
 Opdracht ‘xwd’ uit pakket ‘x11-apps’ (main)
 Opdracht ‘red’ uit pakket ‘ed’ (main)
xed: opdracht niet gevonden
paul@paul-peppermintos7 ~ $
The last command is not recognized.
« Last Edit: February 19, 2018, 06:30:50 am by PCNetSpec »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25659
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Best way to partition USB-HD of 4 TB
« Reply #17 on: February 17, 2018, 07:51:44 pm »
Try
Code: [Select]
pluma /boot/grub/grub.cfg
and post the contents
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline paulus

  • Member
  • ***
  • Posts: 175
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 + 9
Re: Best way to partition USB-HD of 4 TB
« Reply #18 on: February 17, 2018, 08:00:42 pm »

Output of pluma /boot/grub/grub.cfg




Code: [Select]
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#


### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi


if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi


export menuentry_id_option


if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi


function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}


if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
else
  search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
fi
    font="/usr/share/grub/unicode.pf2"
fi


if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=nl_NL
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###


### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
else
  search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
fi
insmod png
if background_image /boot/grub/grub-background.png; then
  true
else
  set menu_color_normal=light-gray/black
  set menu_color_highlight=white/red
fi
### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="${1}"
   if [ "${1}" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Peppermint GNU/Linux' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
   else
     search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
   fi
        linux   /boot/vmlinuz-4.4.0-112-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro  quiet splash $vt_handoff
   initrd   /boot/initrd.img-4.4.0-112-generic
}
submenu 'Advanced options for Peppermint GNU/Linux' $menuentry_id_option 'gnulinux-advanced-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-112-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-advanced-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-112-generic ...'
           linux   /boot/vmlinuz-4.4.0-112-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-112-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-112-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-init-upstart-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-112-generic ...'
           linux   /boot/vmlinuz-4.4.0-112-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro  quiet splash $vt_handoff init=/sbin/upstart
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-112-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-112-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-recovery-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-112-generic ...'
           linux   /boot/vmlinuz-4.4.0-112-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-112-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-109-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-109-generic-advanced-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-109-generic ...'
           linux   /boot/vmlinuz-4.4.0-109-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-109-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-109-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-109-generic-init-upstart-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-109-generic ...'
           linux   /boot/vmlinuz-4.4.0-109-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro  quiet splash $vt_handoff init=/sbin/upstart
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-109-generic
   }
   menuentry 'Peppermint GNU/Linux, with Linux 4.4.0-109-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-109-generic-recovery-6e68a332-2e86-498e-a85c-76e0bb95ea9e' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd0,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
      else
        search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
      fi
      echo   'Loading Linux 4.4.0-109-generic ...'
           linux   /boot/vmlinuz-4.4.0-109-generic root=UUID=6e68a332-2e86-498e-a85c-76e0bb95ea9e ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-4.4.0-109-generic
   }
}


### END /etc/grub.d/10_linux ###


### BEGIN /etc/grub.d/20_linux_xen ###


### END /etc/grub.d/20_linux_xen ###


### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
   else
     search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
   fi
   knetbsd   /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod ext2
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  6e68a332-2e86-498e-a85c-76e0bb95ea9e
   else
     search --no-floppy --fs-uuid --set=root 6e68a332-2e86-498e-a85c-76e0bb95ea9e
   fi
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Ubuntu 16.04.3 LTS (16.04) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-5d5099ef-1295-4770-a8c0-8ee0c3eec7d5' {
   insmod part_gpt
   insmod ext2
   set root='hd1,gpt1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
   else
     search --no-floppy --fs-uuid --set=root 5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
   fi
   linux /boot/vmlinuz-4.13.0-32-generic root=UUID=5d5099ef-1295-4770-a8c0-8ee0c3eec7d5 ro quiet splash $vt_handoff
   initrd /boot/initrd.img-4.13.0-32-generic
}
submenu 'Advanced options for Ubuntu 16.04.3 LTS (16.04) (on /dev/sdb1)' $menuentry_id_option 'osprober-gnulinux-advanced-5d5099ef-1295-4770-a8c0-8ee0c3eec7d5' {
   menuentry 'Robolinux_9.1 GNU/Linux (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-32-generic--5d5099ef-1295-4770-a8c0-8ee0c3eec7d5' {
      insmod part_gpt
      insmod ext2
      set root='hd1,gpt1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      else
        search --no-floppy --fs-uuid --set=root 5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      fi
      linux /boot/vmlinuz-4.13.0-32-generic root=UUID=5d5099ef-1295-4770-a8c0-8ee0c3eec7d5 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.13.0-32-generic
   }
   menuentry 'Robolinux_9.1 GNU/Linux, with Linux 4.13.0-32-generic (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-32-generic--5d5099ef-1295-4770-a8c0-8ee0c3eec7d5' {
      insmod part_gpt
      insmod ext2
      set root='hd1,gpt1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      else
        search --no-floppy --fs-uuid --set=root 5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      fi
      linux /boot/vmlinuz-4.13.0-32-generic root=UUID=5d5099ef-1295-4770-a8c0-8ee0c3eec7d5 ro quiet splash $vt_handoff
      initrd /boot/initrd.img-4.13.0-32-generic
   }
   menuentry 'Robolinux_9.1 GNU/Linux, with Linux 4.13.0-32-generic (recovery mode) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.13.0-32-generic-root=UUID=5d5099ef-1295-4770-a8c0-8ee0c3eec7d5 ro recovery nomodeset-5d5099ef-1295-4770-a8c0-8ee0c3eec7d5' {
      insmod part_gpt
      insmod ext2
      set root='hd1,gpt1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      else
        search --no-floppy --fs-uuid --set=root 5d5099ef-1295-4770-a8c0-8ee0c3eec7d5
      fi
      linux /boot/vmlinuz-4.13.0-32-generic root=UUID=5d5099ef-1295-4770-a8c0-8ee0c3eec7d5 ro recovery nomodeset
      initrd /boot/initrd.img-4.13.0-32-generic
   }
}


set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###


### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###


### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
[\code]

Offline paulus

  • Member
  • ***
  • Posts: 175
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8 + 9
Re: Best way to partition USB-HD of 4 TB
« Reply #19 on: February 19, 2018, 09:49:34 am »
I guess I messed up my grub loader. I tried in many ways to solve the problem, but to no avail. >:(


I will install Windows: that will destroy the grub loader anyway. And that is necessary to start with, as it cannot be installed but on hda1.


After that I can start all over again with Pep8 and other distro's.


Thank you, PCNetSpec, for your attempts; without you there is nobody around that has any clue with this problem, as me! ;D

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25659
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Best way to partition USB-HD of 4 TB
« Reply #20 on: February 19, 2018, 10:29:01 am »
I'm not actually seeing any problem with your config (at least for the Ubuntu installation), unless your BIOS isn't able to see the external HDD  :-\
« Last Edit: February 19, 2018, 10:31:18 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec