Peppermint OS Community Forum

Support => New Users => Topic started by: AdrianT on March 24, 2016, 10:55:59 am

Title: Install will not run without USB in
Post by: AdrianT on March 24, 2016, 10:55:59 am
I'm struggling to install Peppermint 6 onto a machine. It has installed, but will not boot with nor even without the USB. However with Super Grub 2 on a USB I can get it to boot.

I've tried boot-repair but that did not help, I've tried all manner of solutions and grub updates etc. Any ideas? Thanks. I am no expert on Linux but with instruction can work in the terminal as I have Linux on another machine.
Title: Re: Install will not run without USB in
Post by: PCNetSpec on March 24, 2016, 11:05:18 am
Hi AdrainT, and welcome to the forum :)

Boot Peppermint with your supergrub disk, then open a terminal and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
Title: Re: Install will not run without USB in
Post by: AdrianT on March 24, 2016, 11:26:58 am
Thanks for the quick reply, much appreciated  :)

From what I can tell in my 15 to 20 hour mission already is that the USB is on sdb1, and that my primary hard drive is sda1.  I'm not certain if that helps you.

Code: [Select]
at@at-laptop ~ $ sudo fdisk -l
[sudo] password for at:

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 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 identifier: 0x00079c34

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   191178751    95588352   83  Linux
/dev/sda2       191180798   195371007     2095105    5  Extended
/dev/sda5       191180800   195371007     2095104   82  Linux swap / Solaris

Disk /dev/sdb: 8100 MB, 8100249600 bytes
12 heads, 40 sectors/track, 32960 cylinders, total 15820800 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 identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        5992    15820799     7907404    c  W95 FAT32 (LBA)
Code: [Select]
at@at-laptop ~ $ sudo blkid
/dev/sda1: UUID="ac5b29ce-185b-422a-a9f2-dfcf5023f270" TYPE="ext4"
/dev/sda5: UUID="c9fb0343-fbc6-459b-af63-838831484492" TYPE="swap"
/dev/sdb1: LABEL="MULTIBOOT" UUID="15FF-1E15" TYPE="vfat"
at@at-laptop ~ $
Title: Re: Install will not run without USB in
Post by: PCNetSpec on March 24, 2016, 12:43:06 pm
Boot using supergrub, then try running the 2 commands in sequence:
Code: [Select]
sudo grub-install /dev/sda
then:
Code: [Select]
sudo update-grub
then reboot without supergrub
Title: Re: Install will not run without USB in
Post by: AdrianT on April 02, 2016, 03:08:51 am
I tried that but no luck.

The screen sits on this for maybe 30 seconds:
(https://adriantregoning.files.wordpress.com/2016/04/12891113_10156711757245484_2517743221250251738_o.jpg)

And then it finally says this:
(https://adriantregoning.files.wordpress.com/2016/04/12898236_10156711757965484_8312972200258231342_o.jpg)

Sorry for the late reply - I was away for Easter.
Title: Re: Install will not run without USB in
Post by: emegra on April 02, 2016, 04:15:14 am
Hi Adrian

I could be way off the mark here but what I'm gonna suggest won't do any harm

it looks like your BIOS is set to boot from PXE, check your boot order in the BIOS and make sure the first boot drive is set to sda (or whatever the name of that drive is) or invoke the boot menu during boot and select the correct drive


Good luck


Graeme
Title: Re: Install will not run without USB in
Post by: AdrianT on April 03, 2016, 06:06:32 am
Hi Graeme,

I did as as you suggested as shown below, but it came back to the same screen as above.

(https://adriantregoning.files.wordpress.com/2016/04/bootupmethod.jpg)

From my searches on the internet it seems that the installation loaded onto the USB itself, not the harddrive of the PC. Not the installation, but something. Sorry I am no expert at this.

At a stage I tried the suggestions in the link below, but am in hope that this forum shed some light:
http://askubuntu.com/questions/125494/cant-boot-without-flash-drive-plugged-in

My father passed away and I have an extra 3 spare laptops, two of them fairly old, and I want to give two of them away to someone who is more needy - and I thought giving them Windows to be a cruel punishment...
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 03, 2016, 07:24:33 am
Please post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
and
Code: [Select]
mount
and the contents of
Code: [Select]
gedit /etc/fstab
Title: Re: Install will not run without USB in
Post by: AdrianT on April 03, 2016, 07:47:10 am
Code: [Select]
at@at-laptop ~ $ sudo fdisk -l
[sudo] password for at:

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 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 identifier: 0x00079c34

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   191178751    95588352   83  Linux
/dev/sda2       191180798   195371007     2095105    5  Extended
/dev/sda5       191180800   195371007     2095104   82  Linux swap / Solaris

Disk /dev/sdb: 8100 MB, 8100249600 bytes
12 heads, 40 sectors/track, 32960 cylinders, total 15820800 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 identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        5992    15820799     7907404    c  W95 FAT32 (LBA)
at@at-laptop ~ $ sudo blkid
/dev/sda1: UUID="ac5b29ce-185b-422a-a9f2-dfcf5023f270" TYPE="ext4"
/dev/sda5: UUID="c9fb0343-fbc6-459b-af63-838831484492" TYPE="swap"
/dev/sdb1: LABEL="MULTIBOOT" UUID="15FF-1E15" TYPE="vfat"
at@at-laptop ~ $ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=at)
at@at-laptop ~ $ gedit /etc/fstab

Then it opened a new window and displayed this:

Code: [Select]
# /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=ac5b29ce-185b-422a-a9f2-dfcf5023f270 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=c9fb0343-fbc6-459b-af63-838831484492 none            swap    sw              0       0

As a matter of interest, I just used the same USB to install Peppermint 6 to a Dell laptop as a dual with Windows XP and no problems.
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 03, 2016, 08:03:43 am
Okay, boot to the LiveUSB, open a terminal and run:
Code: [Select]
sudo mount /dev/sda1 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then hit Ctrl+D .. to exit the chroot environment.

Now shut down the PC, and see if it'll boot without the USB stick.
Title: Re: Install will not run without USB in
Post by: AdrianT on April 03, 2016, 08:26:05 am
Okay, boot to the LiveUSB, open a terminal and run:

Excuse the stupid question but you mean boot it up again using the USB with SuperGrub2 on it?
Title: Re: Install will not run without USB in
Post by: AdrianT on April 03, 2016, 08:39:00 am
I did try as you said, it said no errors. I shut down the laptop and removed the USB with SuperGrub2, started it up but some problem as shown a few posts before  :'(
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 03, 2016, 09:47:14 am
Okay, boot to the LiveUSB, open a terminal and run:

Excuse the stupid question but you mean boot it up again using the USB with SuperGrub2 on it?

Erm, no .. with a Peppermint 6 LiveUSB
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 02:44:28 am
Ok remember I cannot boot with that USB and open a terminal. So, I booted up with the SuperGrub2 USB, ejected it, placed in the LiveUSB with Peppermint 6 on and followed your instructions. Seems it has some kind of issue:

(https://adriantregoning.files.wordpress.com/2016/04/mountissue.jpg)
Title: Re: Install will not run without USB in
Post by: Slim.Fatz on April 04, 2016, 03:26:06 am
Hi AdrianT,

With the computer turned off, insert the Peppermint Six USB stick and try doing what emegra recommended here (http://forum.peppermintos.com/index.php/topic,3225.msg32260.html#msg32260). Only now select the USB stick.

Regards,

-- Slim
Title: Re: Install will not run without USB in
Post by: AndyInMokum on April 04, 2016, 03:37:34 am
Hi AdrianT, how's it going?  I have to advise you, We are no longer accepting terminal screenshots as feedback unless there is no other option.  The links to screenshots are too often removed or broken.  This renders the whole thread useless for future inquiries and a complete waste of time for the devs helping out.  Could you please rerun the terminal commands?  It is very easy to copy and paste the outputs into the forum editor.  You can do this by highlighting the area to be copied by holding down the left mouse button while dragging the mouse.  Use the copy function on the right mouse click.  Paste the contents into the forum editor using the paste function on the right mouse click.  To preserve the original format, please make sure you encapsulate the outputs with the, # Insert Code function.  This is located above the  :-[ Embarrassed emoticon in the forum editor.  For extra long outputs, you may use the Sp Spoiler function instead.  This is located above the  :'( Cry emoticon in the forum editor.  To post the outputs from text files, you may use the, Insert Quote function.  This is located above the :-X Lips Sealed emoticon in the forum editor.  If it the outputs are from another computer in your network.  Please copy the outputs to a text file.  These can be saved to a thumb drive and then transferred to forum editor.  The appropriate adjustments must to be made before we can proceed with the thread.  Remember we're trying to help you and in doing so, we hope to help others in the future.  Your efforts are much appreciated.   Many thanks for your cooperation and  understanding  ;).
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 03:55:02 am
Hi AdrianT,

With the computer turned off, insert the Peppermint Six USB stick and try doing what emegra recommended here (http://forum.peppermintos.com/index.php/topic,3225.msg32260.html#msg32260). Only now select the USB stick.

Regards,

-- Slim

Hi Slim,

I tried that but I only get to the Unetbootin page if I press F2 or whatever else - F8, F10, F12 etc. I can never get back to the machines original BIOS page.

Regards,
Adrian
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 04:12:03 am
No problem Andy. Apologies for that.

Code: [Select]
at@at-laptop ~ $ sudo mount /dev/sda1 /mnt
[sudo] password for at:
at@at-laptop ~ $ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
at@at-laptop ~ $ sudo chroot /mnt
at-laptop / # grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
at-laptop / # update-grub
Generating grub configuration file ...
Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done
at-laptop / # exit
at@at-laptop ~ $
Title: Re: Install will not run without USB in
Post by: AndyInMokum on April 04, 2016, 05:33:59 am
Hi AdrianT, thanks a million for that - awesome  8)!!
Title: Re: Install will not run without USB in
Post by: Slim.Fatz on April 04, 2016, 06:26:25 am
Hi AdrianT,

Since you seem to have run the Peppermint Six installation on this computer one time (albeit with some sort of error), how about trying a complete new install (i.e. a re-installation) of Peppermint Six with complete reformating of the /dev/sda1 during the installation process.

Regards,

-- Slim
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 07:41:13 am
Ok I originally did try with a CD but failed, hence the USB. I just cut another CD and did a complete new install, erasing the previous version. It was successful, the CD popped out, restarted itself and boom, back to the same screen where it says insert bootable media. I feel like I have gone backwards now and am back to square one.

So, do I need to complete all the steps once again as suggested in the earlier posts. And, what now?  :( Thanks for all the help thus far, it is really appreciated.



Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 04, 2016, 08:14:40 am
Post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
and the contents of
Code: [Select]
gedit /boot/grub/grub.cfg
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 08:45:40 am
I started up with the SuperGrub2 USB stick and went into the terminal:

Code: [Select]
at@at-laptop ~ $ sudo fdisk -l
[sudo] password for at:

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 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 identifier: 0x00018796

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   191178751    95588352   83  Linux
/dev/sda2       191180798   195371007     2095105    5  Extended
/dev/sda5       191180800   195371007     2095104   82  Linux swap / Solaris

Disk /dev/sdb: 8100 MB, 8100249600 bytes
12 heads, 40 sectors/track, 32960 cylinders, total 15820800 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 identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        5992    15820799     7907404    c  W95 FAT32 (LBA)
at@at-laptop ~ $ sudo blkid
/dev/sda1: UUID="82ace3ac-b6da-45ae-8e54-2e69d9721149" TYPE="ext4"
/dev/sda5: UUID="c9fb0343-fbc6-459b-af63-838831484492" TYPE="swap"
/dev/sdb1: LABEL="MULTIBOOT" UUID="15FF-1E15" TYPE="vfat"
at@at-laptop ~ $ gedit /boot/grub/grub.cfg

The gedit opened up and shows this:

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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
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=en_ZA
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=light-gray/black
set menu_color_highlight=white/red
### 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-82ace3ac-b6da-45ae-8e54-2e69d9721149' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
fi
linux /boot/vmlinuz-3.16.0-46-generic root=UUID=82ace3ac-b6da-45ae-8e54-2e69d9721149 ro  quiet splash $vt_handoff
initrd /boot/initrd.img-3.16.0-46-generic
}
submenu 'Advanced options for Peppermint GNU/Linux' $menuentry_id_option 'gnulinux-advanced-82ace3ac-b6da-45ae-8e54-2e69d9721149' {
menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-46-generic-advanced-82ace3ac-b6da-45ae-8e54-2e69d9721149' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
fi
echo 'Loading Linux 3.16.0-46-generic ...'
linux /boot/vmlinuz-3.16.0-46-generic root=UUID=82ace3ac-b6da-45ae-8e54-2e69d9721149 ro  quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-46-generic
}
menuentry 'Peppermint GNU/Linux, with Linux 3.16.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-46-generic-recovery-82ace3ac-b6da-45ae-8e54-2e69d9721149' {
recordfail
load_video
insmod gzio
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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
fi
echo 'Loading Linux 3.16.0-46-generic ...'
linux /boot/vmlinuz-3.16.0-46-generic root=UUID=82ace3ac-b6da-45ae-8e54-2e69d9721149 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.16.0-46-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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
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  82ace3ac-b6da-45ae-8e54-2e69d9721149
else
  search --no-floppy --fs-uuid --set=root 82ace3ac-b6da-45ae-8e54-2e69d9721149
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 04, 2016, 09:26:39 am
Try this:
Code: [Select]
sudo apt-get remove --purge grub grub-pc grub-common
then
Code: [Select]
sudo mv /boot/grub /boot/grub_backup
then
Code: [Select]
sudo mkdir /boot/grub
then
Code: [Select]
sudo apt-get install grub-pc grub-common
then
Code: [Select]
sudo grub-install --recheck /dev/sda
then
Code: [Select]
sudo update-grub
if all that went well, reboot to test.
Title: Re: Install will not run without USB in
Post by: AdrianT on April 04, 2016, 10:25:54 am
Nope, did work not. Seemed to all go well though.

Not sure if this helps you:

Code: [Select]
at@at-laptop ~ $ sudo apt-get remove --purge grub grub-pc grub-common
[sudo] password for at:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'grub' is not installed, so not removed
The following packages will be REMOVED:
  grub-common* grub-gfxpayload-lists* grub-pc* grub-pc-bin* grub2-common*
0 upgraded, 0 newly installed, 5 to remove and 233 not upgraded.
After this operation, 16,8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 153803 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.6) ...
Removing grub-pc (2.02~beta2-9ubuntu1.3) ...
Purging configuration files for grub-pc (2.02~beta2-9ubuntu1.3) ...
Removing grub2-common (2.02~beta2-9ubuntu1.3) ...
Removing grub-pc-bin (2.02~beta2-9ubuntu1.3) ...
Removing grub-common (2.02~beta2-9ubuntu1.3) ...
Purging configuration files for grub-common (2.02~beta2-9ubuntu1.3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
at@at-laptop ~ $ sudo mv /boot/grub /boot/grub_backup
at@at-laptop ~ $ sudo mkdir /boot/grub
at@at-laptop ~ $ sudo apt-get install grub-pc grub-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  grub-gfxpayload-lists grub-pc-bin grub2-common
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following NEW packages will be installed:
  grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
0 upgraded, 5 newly installed, 0 to remove and 233 not upgraded.
Need to get 3 500 B/3 254 kB of archives.
After this operation, 16,8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://za.archive.ubuntu.com/ubuntu/ trusty/main grub-gfxpayload-lists i386 0.6 [3 500 B]
Fetched 3 500 B in 0s (11,5 kB/s)           
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 153391 files and directories currently installed.)
Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.7_i386.deb ...
Unpacking grub-common (2.02~beta2-9ubuntu1.7) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.7_i386.deb ...
Unpacking grub2-common (2.02~beta2-9ubuntu1.7) ...
Selecting previously unselected package grub-pc-bin.
Preparing to unpack .../grub-pc-bin_2.02~beta2-9ubuntu1.7_i386.deb ...
Unpacking grub-pc-bin (2.02~beta2-9ubuntu1.7) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../grub-pc_2.02~beta2-9ubuntu1.7_i386.deb ...
Unpacking grub-pc (2.02~beta2-9ubuntu1.7) ...
Selecting previously unselected package grub-gfxpayload-lists.
Preparing to unpack .../grub-gfxpayload-lists_0.6_i386.deb ...
Unpacking grub-gfxpayload-lists (0.6) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up grub-common (2.02~beta2-9ubuntu1.7) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.7) ...
Setting up grub-pc-bin (2.02~beta2-9ubuntu1.7) ...
Setting up grub-gfxpayload-lists (0.6) ...
Setting up grub-pc (2.02~beta2-9ubuntu1.7) ...

Creating config file /etc/default/grub with new version
at@at-laptop ~ $ sudo grub-install --recheck /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
at@at-laptop ~ $ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-46-g
Title: Re: Install will not run without USB in
Post by: murraymint on April 04, 2016, 11:08:09 am
I think you're going to have to get into your BIOS somehow to stop it attempting to boot from something that's not available (seems to be a network).
Title: Re: Install will not run without USB in
Post by: murraymint on April 04, 2016, 01:14:40 pm
Adrian, if none of the F keys takes you into the BIOS settings, have you tried Esc?
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 04, 2016, 01:30:35 pm
I can see no problem with your GRUB setup, so either

a) Your MBR is frazzled (technical term for kaput)
or
b) As the others are suggesting, your BIOS isn't set to boot from this drive.
Title: Re: Install will not run without USB in
Post by: AdrianT on April 05, 2016, 01:57:09 am
Ah, after trying the ESC key and all the others finally F8 got me in. I changed to boot from harddisk and F10 and to save exit. Went to a blank screen. Tried again, then after a bit it asked to boot to Ubuntu, which I found strange. Accepted. Peppermint 6 started. Shutdown, started again with zero problems! Problems solved at last. You will make my maid's daughter very happy when I give her this laptop today - thank you. Thanks again for the assistance, it is really appreciated!!  :D
Title: Re: Install will not run without USB in
Post by: zebedeeboss on April 05, 2016, 02:52:17 am
Well Done Adrian

It just proves that perseverance and the Best Forum out there will eventually win through. Add to that the fact that after all the hard work you are giving the laptop away...  extra Kudos to you  ;D
Title: Re: Install will not run without USB in
Post by: emegra on April 05, 2016, 05:29:14 am
All too often on this site we hear " I'm giving up and going back to Windows !" at the first problem when it's no fault of Linux it's just computers being computers so I gotta admire your perseverance :)

Well done Adrian




Graeme
Title: Re: Install will not run without USB in
Post by: murraymint on April 05, 2016, 08:28:52 am
Nice one!  ;D
Title: Re: Install will not run without USB in
Post by: PCNetSpec on April 05, 2016, 10:26:37 am
Great  news :)

It says "Ubuntu" because we removed the Peppermint GRUB and reinstalled the Ubuntu version (from the upstream repo).

Won't affect how the system boots though ;)
Title: Re: Install will not run without USB in
Post by: AndyInMokum on April 05, 2016, 10:43:39 am
Well done AdrianT, your perseverance has paid off - very cool  8) .  I'm sure your maid's daughter will love her computer.  If you have any further issues or questions, we're here to help you out  ;).