Announcement

Collapse
No announcement yet.

MBR vs GPT, BIOS and UEFI, Secureboot...what's "the best" combo for a Linux only box?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Not sure if you saw...I edited my last message. Need to see the outputs of a couple more commands.

    Comment


      #32
      yeah, I had to edit my reply too.

      And boot repair didn't take, so I need to start all over.
      I'm tired of maintaining my system. I'll let Neon do it for me.

      Comment


        #33
        Oh, you have a RAID setup? Hm. TBH, I've never messed around with that, as all I have are laptop PCs. You might need to set a value for scan_delay in refind.conf. (source). You will also need to have /boot on a separate non-RAID partition (source).

        Comment


          #34
          Code:
          pat@Pats-Main:~$ ls -al /boot
          total 43616
          drwxr-xr-x  6 root root     4096 Jan  4 17:26 .
          drwxr-xr-x 25 root root     4096 Jan  4 08:40 ..
          -rw-r--r--  1 root root  1137897 Dec  8 19:08 abi-3.12.0-7-generic
          -rw-r--r--  1 root root   163090 Dec  8 19:08 config-3.12.0-7-generic
          drwxr-xr-x  3 root root     4096 Dec 31  1969 efi
          drwxr-xr-x  3 root root     4096 Jan  4 08:42 extlinux
          drwxr-xr-x  5 root root     4096 Jan  4 17:27 grub
          drwxr-xr-x  2 root root     4096 Jan  4 10:03 grub.bak
          -rw-r--r--  1 root root 27915145 Jan  1 11:17 initrd.img-3.12.0-7-generic
          -rw-r--r--  1 root root   176500 Dec  3 18:01 memtest86+.bin
          -rw-r--r--  1 root root   178176 Dec  3 18:01 memtest86+.elf
          -rw-r--r--  1 root root   178680 Dec  3 18:01 memtest86+_multiboot.bin
          -rw-r--r--  1 root root      201 Jan  4 08:08 refind_linux.conf
          -rw-------  1 root root  3360123 Dec  8 19:08 System.map-3.12.0-7-generic
          -rwx------  1 root root  5751408 Dec  8 19:08 vmlinuz-3.12.0-7-generic
          -rwx------  1 root root  5753336 Jan  4 17:21 vmlinuz-3.12.0-7-generic.efi.signed
          pat@Pats-Main:~$ lsblk
          NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
          sda       8:0    0 931.5G  0 disk
          └─sda1    8:1    0 931.5G  0 part  /home
          sdb       8:16   0  29.8G  0 disk
          ├─sdb1    8:17   0  25.8G  0 part
          │ └─md0   9:0    0  51.6G  0 raid0 /
          └─sdb2    8:18   0     4G  0 part  /boot/efi
          sdc       8:32   0  29.8G  0 disk
          ├─sdc1    8:33   0  25.8G  0 part
          │ └─md0   9:0    0  51.6G  0 raid0 /
          └─sdc2    8:34   0     4G  0 part  [SWAP]
          sr0      11:0    1  1024M  0 rom
          pat@Pats-Main:~$
          Last edited by SteveRiley; Jan 04, 2014, 04:39 PM.
          I'm tired of maintaining my system. I'll let Neon do it for me.

          Comment


            #35
            I know, big-assed /boot partition. Further reflection told me that I should have made a smaller /boot partition and another raid for swap.... oh well, if this system breaks, I'll do that instead
            I'm tired of maintaining my system. I'll let Neon do it for me.

            Comment


              #36
              Ah, looks like /boot is on your RAID volume. rEFInd can't handle that.

              Comment


                #37
                nooooo..... /boot is on /sdb2. /md0 is /sdb1 and /sdc1. Swap is on /sdc2.
                When I partitioned the SDD's, I kept 5g out on both disks to make boot and swap, then combined the larger partitions for raid0
                I'm tired of maintaining my system. I'll let Neon do it for me.

                Comment


                  #38
                  Let me see /etc/fstab.

                  Comment


                    #39
                    Code:
                    # /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>
                    UUID=3bda19a1-88ba-4e83-8efb-5973c4a53f9e  /              ext4   errors=remount-ro                                               0       1
                    UUID=935a295e-8ace-440e-ad48-e7b7f4f48481  /home          ext4   defaults                                                        0       2
                    UUID=923456be-0667-4d81-acd0-94871c6352aa  none           swap   sw                                                              0       0
                    //192.168.1.13/Shares                      /mnt/Shares    cifs   guest,uid=1000,iocharset=utf8                                   0       0
                    //192.168.1.13/Homes                       /mnt/Homes     cifs   credentials=/home/pat/.smbcredentials,iocharset=utf8,sec=ntlm   0       0
                    UUID=CB1D-5BFF                               /boot/efi      vfat     defaults                                                     0     1
                    Sorry, had to eat and make interested sounds at wife and daughter
                    I'm tired of maintaining my system. I'll let Neon do it for me.

                    Comment


                      #40
                      LOL @"interested sounds" ...BTDT.

                      Your fstab doesn't have an entry for a separate boot partition. Do you not keep that typically mounted, then? I thought that separate boot partitions were always required if the root filesystem is on a RAID volume.

                      /boot/efi is the mount point for your EFI system partition -- this isn't the same thing as a separate boot partition.
                      Last edited by SteveRiley; Jan 04, 2014, 07:16 PM.

                      Comment


                        #41
                        The partition was originally /boot. I think boot repair added the 'efi' part. I'll edit it back to /boot and see if refind works with it.

                        edit: No, it didn't work. Oh, well. There's no point in using both.
                        Last edited by Buddlespit; Jan 05, 2014, 04:36 AM. Reason: more info
                        I'm tired of maintaining my system. I'll let Neon do it for me.

                        Comment


                          #42


                          That was much easier than I was expecting!
                          samhobbs.co.uk

                          Comment


                            #43
                            Although I purged grub, I still get a grub option in rEFInd.

                            Can I just remove /boot/grub ?

                            Code:
                            feathers-mcgraw@Hobbs-T440s:~$ tree /boot
                            /boot
                            ├── abi-3.11.0-12-generic
                            ├── abi-3.11.0-15-generic
                            ├── abi-3.11.0-17-generic
                            ├── config-3.11.0-12-generic
                            ├── config-3.11.0-15-generic
                            ├── config-3.11.0-17-generic
                            ├── efi
                            │** └── EFI
                            │**     ├── refind
                            │**     │** ├── drivers_x64
                            │**     │** │** └── ext4_x64.efi
                            │**     │** ├── icons
                            │**     │** │** ├── arrow_left.icns                                                                                                  
                            │**     │** │** ├── arrow_right.icns                                                                                                 
                            │**     │** │** ├── boot_linux.icns                                                                                                  
                            │**     │** │** ├── boot_win.icns                                                                                                    
                            │**     │** │** ├── func_about.icns                                                                                                  
                            │**     │** │** ├── func_exit.icns                                                                                                   
                            │**     │** │** ├── func_firmware.icns                                                                                               
                            │**     │** │** ├── func_reset.icns                                                                                                  
                            │**     │** │** ├── func_shutdown.icns                                                                                               
                            │**     │** │** ├── os_altlinux.icns                                                                                                 
                            │**     │** │** ├── os_arch.icns                                                                                                     
                            │**     │** │** ├── os_centos.icns                                                                                                   
                            │**     │** │** ├── os_chrome.icns                                                                                                   
                            │**     │** │** ├── os_debian.icns                                                                                                   
                            │**     │** │** ├── os_ecomstation.icns                                                                                              
                            │**     │** │** ├── os_fatdog.icns                                                                                                   
                            │**     │** │** ├── os_fedora.icns                                                                                                   
                            │**     │** │** ├── os_freebsd.icns                                                                                                  
                            │**     │** │** ├── os_freedos.icns                                                                                                  
                            │**     │** │** ├── os_funtoo.icns                                                                                                   
                            │**     │** │** ├── os_gentoo.icns                                                                                                   
                            │**     │** │** ├── os_gummiboot.icns                                                                                                
                            │**     │** │** ├── os_haiku.icns                                                                                                    
                            │**     │** │** ├── os_hwtest.icns                                                                                                   
                            │**     │** │** ├── os_kubuntu.icns
                            │**     │** │** ├── os_legacy.icns
                            │**     │** │** ├── os_linux.icns
                            │**     │** │** ├── os_linuxmint.icns
                            │**     │** │** ├── os_lubuntu.icns
                            │**     │** │** ├── os_mac.icns
                            │**     │** │** ├── os_mandriva.icns
                            │**     │** │** ├── os_manjaro.icns
                            │**     │** │** ├── os_netbsd.icns
                            │**     │** │** ├── os_openbsd.icns
                            │**     │** │** ├── os_opensuse.icns
                            │**     │** │** ├── os_redhat.icns
                            │**     │** │** ├── os_refind.icns
                            │**     │** │** ├── os_refit.icns
                            │**     │** │** ├── os_slackware.icns
                            │**     │** │** ├── os_suse.icns
                            │**     │** │** ├── os_ubuntu.icns
                            │**     │** │** ├── os_unknown.icns
                            │**     │** │** ├── os_win.icns
                            │**     │** │** ├── tool_apple_rescue.icns
                            │**     │** │** ├── tool_memtest.icns
                            │**     │** │** ├── tool_mok_tool.icns
                            │**     │** │** ├── tool_part.icns
                            │**     │** │** ├── tool_shell.icns
                            │**     │** │** ├── tool_windows_rescue.icns
                            │**     │** │** ├── transparent.icns
                            │**     │** │** ├── vol_external.icns
                            │**     │** │** ├── vol_internal.icns
                            │**     │** │** └── vol_optical.icns
                            │**     │** ├── keys
                            │**     │** │** ├── altlinux.cer
                            │**     │** │** ├── canonical-uefi-ca.der
                            │**     │** │** ├── fedora-ca.cer
                            │**     │** │** ├── openSUSE-UEFI-CA-Certificate.cer
                            │**     │** │** ├── refind.cer
                            │**     │** │** └── SLES-UEFI-CA-Certificate.cer
                            │**     │** ├── refind.conf
                            │**     │** └── refind_x64.efi
                            │**     ├── tools
                            │**     └── ubuntu
                            │**         ├── grub.cfg
                            │**         ├── grubx64.efi
                            │**         ├── MokManager.efi
                            │**         └── shimx64.efi
                            ├── grub
                            │** ├── fonts
                            │** │** └── unicode.pf2
                            │** ├── grub.cfg
                            │** ├── grubenv
                            │** ├── locale
                            │** │** ├── en_AU.mo
                            │** │** ├── en_CA.mo
                            │** │** └── en_GB.mo
                            │** └── x86_64-efi
                            │**     ├── acpi.mod
                            │**     ├── adler32.mod
                            │**     ├── affs.mod
                            │**     ├── afs.mod
                            │**     ├── ahci.mod
                            │**     ├── all_video.mod
                            │**     ├── aout.mod
                            │**     ├── appleldr.mod
                            │**     ├── ata.mod
                            │**     ├── at_keyboard.mod
                            │**     ├── backtrace.mod
                            │**     ├── bfs.mod
                            │**     ├── bitmap.mod
                            │**     ├── bitmap_scale.mod
                            │**     ├── blocklist.mod
                            │**     ├── boot.mod
                            │**     ├── bsd.mod
                            │**     ├── btrfs.mod
                            │**     ├── bufio.mod
                            │**     ├── cat.mod
                            │**     ├── chain.mod
                            │**     ├── cmp.mod
                            │**     ├── command.lst
                            │**     ├── configfile.mod
                            │**     ├── core.efi
                            │**     ├── cpio_be.mod
                            │**     ├── cpio.mod
                            │**     ├── cpuid.mod
                            │**     ├── crc64.mod
                            │**     ├── cryptodisk.mod
                            │**     ├── crypto.lst
                            │**     ├── crypto.mod
                            │**     ├── cs5536.mod
                            │**     ├── datehook.mod
                            │**     ├── date.mod
                            │**     ├── datetime.mod
                            │**     ├── diskfilter.mod
                            │**     ├── dm_nv.mod
                            │**     ├── echo.mod
                            │**     ├── efifwsetup.mod
                            │**     ├── efi_gop.mod
                            │**     ├── efinet.mod
                            │**     ├── efi_uga.mod
                            │**     ├── ehci.mod
                            │**     ├── elf.mod
                            │**     ├── exfat.mod
                            │**     ├── exfctest.mod
                            │**     ├── ext2.mod
                            │**     ├── extcmd.mod
                            │**     ├── fat.mod
                            │**     ├── fixvideo.mod
                            │**     ├── font.mod
                            │**     ├── fshelp.mod
                            │**     ├── fs.lst
                            │**     ├── functional_test.mod
                            │**     ├── gcry_arcfour.mod
                            │**     ├── gcry_blowfish.mod
                            │**     ├── gcry_camellia.mod
                            │**     ├── gcry_cast5.mod
                            │**     ├── gcry_crc.mod
                            │**     ├── gcry_des.mod
                            │**     ├── gcry_md4.mod
                            │**     ├── gcry_md5.mod
                            │**     ├── gcry_rfc2268.mod
                            │**     ├── gcry_rijndael.mod
                            │**     ├── gcry_rmd160.mod
                            │**     ├── gcry_seed.mod
                            │**     ├── gcry_serpent.mod
                            │**     ├── gcry_sha1.mod
                            │**     ├── gcry_sha256.mod
                            │**     ├── gcry_sha512.mod
                            │**     ├── gcry_tiger.mod
                            │**     ├── gcry_twofish.mod
                            │**     ├── gcry_whirlpool.mod
                            │**     ├── geli.mod
                            │**     ├── gettext.mod
                            │**     ├── gfxmenu.mod
                            │**     ├── gfxterm.mod
                            │**     ├── gptsync.mod
                            │**     ├── grub.efi
                            │**     ├── gzio.mod
                            │**     ├── halt.mod
                            │**     ├── hashsum.mod
                            │**     ├── hdparm.mod
                            │**     ├── hello.mod
                            │**     ├── help.mod
                            │**     ├── hexdump.mod
                            │**     ├── hfs.mod
                            │**     ├── hfsplus.mod
                            │**     ├── http.mod
                            │**     ├── iorw.mod
                            │**     ├── iso9660.mod
                            │**     ├── jfs.mod
                            │**     ├── jpeg.mod
                            │**     ├── keylayouts.mod
                            │**     ├── keystatus.mod
                            │**     ├── ldm.mod
                            │**     ├── linuxefi.mod
                            │**     ├── linux.mod
                            │**     ├── loadbios.mod
                            │**     ├── load.cfg
                            │**     ├── loadenv.mod
                            │**     ├── loopback.mod
                            │**     ├── lsacpi.mod
                            │**     ├── lsefimmap.mod
                            │**     ├── lsefisystab.mod
                            │**     ├── lsmmap.mod
                            │**     ├── ls.mod
                            │**     ├── lspci.mod
                            │**     ├── lssal.mod
                            │**     ├── luks.mod
                            │**     ├── lvm.mod
                            │**     ├── lzopio.mod
                            │**     ├── mdraid09_be.mod
                            │**     ├── mdraid09.mod
                            │**     ├── mdraid1x.mod
                            │**     ├── memdisk.mod
                            │**     ├── memrw.mod
                            │**     ├── minicmd.mod
                            │**     ├── minix2_be.mod
                            │**     ├── minix2.mod
                            │**     ├── minix3_be.mod
                            │**     ├── minix3.mod
                            │**     ├── minix_be.mod
                            │**     ├── minix.mod
                            │**     ├── mmap.mod
                            │**     ├── moddep.lst
                            │**     ├── msdospart.mod
                            │**     ├── multiboot2.mod
                            │**     ├── multiboot.mod
                            │**     ├── net.mod
                            │**     ├── newc.mod
                            │**     ├── nilfs2.mod
                            │**     ├── normal.mod
                            │**     ├── ntfscomp.mod
                            │**     ├── ntfs.mod
                            │**     ├── odc.mod
                            │**     ├── ohci.mod
                            │**     ├── part_acorn.mod
                            │**     ├── part_amiga.mod
                            │**     ├── part_apple.mod
                            │**     ├── part_bsd.mod
                            │**     ├── part_dvh.mod
                            │**     ├── part_gpt.mod
                            │**     ├── partmap.lst
                            │**     ├── part_msdos.mod
                            │**     ├── part_plan.mod
                            │**     ├── part_sun.mod
                            │**     ├── part_sunpc.mod
                            │**     ├── parttool.lst
                            │**     ├── parttool.mod
                            │**     ├── password.mod
                            │**     ├── password_pbkdf2.mod
                            │**     ├── pata.mod
                            │**     ├── pbkdf2.mod
                            │**     ├── play.mod
                            │**     ├── png.mod
                            │**     ├── priority_queue.mod
                            │**     ├── probe.mod
                            │**     ├── raid5rec.mod
                            │**     ├── raid6rec.mod
                            │**     ├── read.mod
                            │**     ├── reboot.mod
                            │**     ├── regexp.mod
                            │**     ├── reiserfs.mod
                            │**     ├── relocator.mod
                            │**     ├── romfs.mod
                            │**     ├── scsi.mod
                            │**     ├── search_fs_file.mod
                            │**     ├── search_fs_uuid.mod
                            │**     ├── search_label.mod
                            │**     ├── search.mod
                            │**     ├── serial.mod
                            │**     ├── setjmp.mod
                            │**     ├── setpci.mod
                            │**     ├── sfs.mod
                            │**     ├── sleep.mod
                            │**     ├── squash4.mod
                            │**     ├── tar.mod
                            │**     ├── terminal.lst
                            │**     ├── terminal.mod
                            │**     ├── terminfo.mod
                            │**     ├── test_blockarg.mod
                            │**     ├── testload.mod
                            │**     ├── test.mod
                            │**     ├── tftp.mod
                            │**     ├── tga.mod
                            │**     ├── time.mod
                            │**     ├── trig.mod
                            │**     ├── true.mod
                            │**     ├── udf.mod
                            │**     ├── ufs1.mod
                            │**     ├── ufs2.mod
                            │**     ├── uhci.mod
                            │**     ├── usb_keyboard.mod
                            │**     ├── usb.mod
                            │**     ├── usbms.mod
                            │**     ├── usbserial_common.mod
                            │**     ├── usbserial_ftdi.mod
                            │**     ├── usbserial_pl2303.mod
                            │**     ├── usbtest.mod
                            │**     ├── video_bochs.mod
                            │**     ├── video_cirrus.mod
                            │**     ├── video_fb.mod
                            │**     ├── videoinfo.mod
                            │**     ├── video.lst
                            │**     ├── video.mod
                            │**     ├── videotest.mod
                            │**     ├── xfs.mod
                            │**     ├── xnu.mod
                            │**     ├── xnu_uuid.mod
                            │**     ├── xzio.mod
                            │**     ├── zfscrypt.mod
                            │**     ├── zfsinfo.mod
                            │**     └── zfs.mod
                            ├── initrd.img-3.11.0-12-generic
                            ├── initrd.img-3.11.0-15-generic
                            ├── initrd.img-3.11.0-17-generic
                            ├── memtest86+.bin
                            ├── memtest86+_multiboot.bin
                            ├── refind_linux.conf
                            Last edited by Feathers McGraw; Feb 22, 2014, 02:56 PM. Reason: meant /boot/grub not /etc/grub
                            samhobbs.co.uk

                            Comment


                              #44
                              Originally posted by Feathers McGraw View Post
                              Although I purged grub, I still get a grub option in rEFInd.

                              Can I just remove /boot/grub ?
                              That's coming from /boot/efi/EFI/ubuntu. Notice the file grubx64.efi; that is GRUB's EFI loader.

                              You should uninstall all of GRUB. I can't remember whether that will remove this subdirectory and also /boot/grub. If not, you can remove both of them manually.
                              Last edited by SteveRiley; Mar 13, 2014, 10:46 PM.

                              Comment


                                #45
                                Thanks mate, I found it in the end!
                                samhobbs.co.uk

                                Comment

                                Users Viewing This Topic

                                Collapse

                                There are 0 users viewing this topic.

                                Working...
                                X