Xenialpup won't boot in HP Pavilion, can't install grub

Booting, installing, newbie
Post Reply
Message
Author
Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

Xenialpup won't boot in HP Pavilion, can't install grub

#1 Post by Scott99 »

Hi, I have an old HP Pavilion on which I've been running Windows 10 dual booting with Lunbuntu. I decided to uninstall Lunbuntu and replace it with Xenial pup 7.5 64 bit. I attempted to install Grub4dos and get the following error message:

/usr/sbin/grub4dosconfig PBS
version 1.9.2
Tue Jan 9 15:30:48 EST 2018
BINSTALLER=bootlace.com
149.1GiB
102400
101219388
460800
54503424
sda|149kB_ATA_Hitachi_HTS72321
sda1|(ntfs)_100MB_System
sda2|(ntfs)_96.5GB_
sda3|(ntfs)_450MB_
sda5|(ext4)_51.9GB_
PCPARTS:
/dev/sda1|ntfs|102400
/dev/sda2|ntfs|101219388
/dev/sda3|ntfs|460800
/dev/sda5|ext4|54503424


LPART:/dev/sda5|ext4|54503424
CHAINLOADER=
MYPUPPY=sr0/puppy_xenialpup64_7.5.sfs

sda5/boot/initrd.gz,/boot/vmlinuz|xenialpup64_7.5
sda5/boot/initrd.gz,/boot/vmlinuz|xenialpup64_7.5
sda1/bootmgr|Windows



WIN:sda1/bootmgr|Windows
Writing... /initrd/mnt/dev_save/menu.lst

:Windows:
:Windows (sda1)Xenialpup64 7.5 (sda5/boot):
Installing grldr ...
'/usr/lib/grub4dos/grldr' -> '/initrd/mnt/dev_save/grldr'
cp: cannot stat '': No such file or directory
Failed to install extlinux.
/dev/sda Bootalbe: yes,

The ntfs-3g driver was unable to mount the NTFS
partition and returned this error message:
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

So, the inbuilt kernel NTFS driver has been used
to mount the partition read-only.

What a mess. Now when I boot, instead of getting the menu, I get the grub rescue prompt. Thanks in advance for your patience and assistance. If you need any additional information, please let me know. Thanks, Scott

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#2 Post by foxpup »

Hi Scott

Is it an efi machine you have?
I decided to uninstall Lunbuntu and replace it with Xenial pup 7.5 64 bit. I attempted to install Grub4dos
I am trying to understand what you did.
You booted Puppy from usb? Then you used a script in the menu to install Puppy and in the process installed grub4dos?

I do not recognize the long error message.
I guess you put xenialpup on sda5. sda1 has the boot installation of windows, but that is probably damaged.
Now when I boot, instead of getting the menu, I get the grub rescue prompt.
Can you boot anything? maybe from usb stick?
I would give priority to getting windows 10 booting again. Do you have a install/rescue/repair stick/iso for windows?
(Unless you do not want windows 10 anymore, but I suppose not.)
Last edited by foxpup on Tue 09 Jan 2018, 20:50, edited 1 time in total.

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#3 Post by jafadmin »

boot from iso, then type this in a console: sfdisk -l /dev/sda (That is a lowercase 'L' )

Tell us which partition is marked as boot partition

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#4 Post by cthisbear »

" old HP Pavilion "...model number always helps.

Personally I always run any newer Pups from usb.
Cheap....cheerful...no stuffing up hard drives.

As recently posted I have been using this for usb booting >>> RMPrepUSB


http://murga-linux.com/puppy/viewtopic. ... 746#978746

Chris.

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

Thanks, I've fixed it

#5 Post by Scott99 »

Hi, I had the wrong partition flagged as boot. As soon as this was corrected I was able to install grub and now everything works fine (for now). Thanks for you help. Scott

Post Reply