(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 21 Oct 2020, 00:42
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Bionic pup 64 - Frugal to USB install fail (Solved)
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
qxotic

Joined: 25 Jan 2020
Posts: 27

PostPosted: Mon 27 Jan 2020, 15:05    Post subject:  Bionic pup 64 - Frugal to USB install fail (Solved)  

Hardware - Asrock J4105 itx, 16G Ram (has previously ran ubuntu server 18.04 with no troubles.)

Steps taken:
Boots to checksum verified ISO - no trouble. Gparted to one ext2 partition (also tried ext3 and 4) flagged bootable.

Created Bionic64 directory and copied files from boot usb into it.

Ran Gurb4dos - says it's successful and creates grldr, menu.lst and menu-advanced.lst files as well as mbr bak file.

Shut down... remove install usb and reboot - target usb is not shown as bootable in UEFI.

Tried doing the install from desktop icon, only one that worked to usb was if I formatted as fat32.. did not give a frugal option, was bootable/usable but not the install I'm looking to do.

How can I make a frugal install to usb work?

Thank you.
Files.jpg
Description  Screen shot - Left side is install usb - right is target
jpg

 Download 
Filename  Files.jpg 
Filesize  236.14 KB 
Downloaded  71 Time(s) 

Last edited by qxotic on Tue 28 Jan 2020, 20:34; edited 1 time in total
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Mon 27 Jan 2020, 16:15    Post subject:    

Welcome to the kennels, qxotic.

Puppy Linux UEFI boot EASY
This is an easy way.

I do it a little different.
I make (at least) 2 partitions:
- 100M fat32, flagged ESP/boot for the boot installation (sdc2)
- 1G or more ext3 for Puppy(s) (your sdc1)

Grub4dos does not boot from UEFI.
But do not delete it.
You may want to do legacy boot from your pendrive some time.
Move menu.lst, grldr, menu-advanced.lst to sdc2.
sdc_mbr.bak is a copy of whatever mbr was on sdc before you let grub4dos put its own mbr on sdc.
You may have to run grub4dos again later, just to make a new menu.lst when things have changed on your pendrive.

Proceed on sdc2 as Limbomusic tells:
- his bootx64.efi is grub2; put it in sdc2/EFI/boot/
- put grub.cfg on sdc2/ (next to menu.lst)
grub.cfg should be a little different from Limbomusic.
His Puppy is on the root of the partition, yours is in /Bionic64.
That is better because you can now put several Puppys side by side on sdc1, each in their own map.
Also, the Puppy is on another partition than grub2, so we have to tell grub2 to search for Puppy.
Code:
set timeout=10
menuentry "Start Bionic64" {
search --file --set root --no-floppy /Bionic64/initrd.gz
linux /Bionic64/vmlinuz
initrd /Bionic64/initrd.gz
}

timeout lets you have a little time If you have more entries.

You have to turn off Secure Boot.
Secure Boot has notthing to do with safe, by the way.

That's it.

EDIT:
You can setup grub2 boot on an internal hard drive the same way.
However, be carefull if you have another OS (windows, linuxes... ) installed and booting on your internal HD,
not to whipe it (by accident).
You may not even need to install grub2.
There may be a bootloader there already that you can use to boot Puppy as well.

Last edited by foxpup on Wed 29 Jan 2020, 09:34; edited 1 time in total
Back to top
View user's profile Send private message 
qxotic

Joined: 25 Jan 2020
Posts: 27

PostPosted: Mon 27 Jan 2020, 16:33    Post subject: Files  

Where can I find the files from limbomusic you refer to?.. edit.. ok.. saw the link. Will give them a try.

Secure boot is off.

Thank you
Back to top
View user's profile Send private message 
qxotic

Joined: 25 Jan 2020
Posts: 27

PostPosted: Mon 27 Jan 2020, 17:04    Post subject: Progress  

It tries to boot now, but fails to find the main sfs file.

Does the grub config know to look in the 1st partition?
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Tue 28 Jan 2020, 04:49    Post subject:  

Maybe the init needs a little more guidance.
Add psubdir=/Bionic64/ to the kernel line.
Code:
set timeout=10

menuentry "Start Bionic64" {
search --file --set root --no-floppy /Bionic64/initrd.gz
linux /Bionic64/vmlinuz psubdir=/Bionic64/
initrd /Bionic64/initrd.gz
}
Back to top
View user's profile Send private message 
qxotic

Joined: 25 Jan 2020
Posts: 27

PostPosted: Tue 28 Jan 2020, 14:26    Post subject: Working... I think.  

I took the usb drives to work with me to try out when I had some extra time. I made the config file changes and it worked on the first try on an old Dell laptop Vostro 1500.. (I'm guessing that is using non UEFI... so will have to verify later that all is good on the newer home system)

If it does not work at home I'll update with the condition.

Thanks for the help!
Back to top
View user's profile Send private message 
qxotic

Joined: 25 Jan 2020
Posts: 27

PostPosted: Tue 28 Jan 2020, 20:34    Post subject: SOLVED - working  

That was the needed addition. Booted fine tonight on the newer motherboard.

Thank you!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0876s ][ Queries: 12 (0.0570s) ][ GZIP on ]