Making FirstRib bootable with own initramfs

A home for all kinds of Puppy related projects
Message
Author
wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

Making FirstRib bootable with own initramfs

#1 Post by wiak »

Whilst there may probably still be some useful general info in this thread, for the most part it is now outdated.

In practice this thread is no longer being added to since it proved more sensible to put all FirstRib development into thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=116212.

wiak
Last edited by wiak on Sun 04 Aug 2019, 11:34, edited 9 times in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

model00 script (simple; provided for understanding only)

#2 Post by wiak »

reserved for possible future additions.
Last edited by wiak on Sun 04 Aug 2019, 11:35, edited 13 times in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#3 Post by wiak »

reserved for possible future additions
Last edited by wiak on Sun 04 Aug 2019, 11:36, edited 23 times in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#4 Post by wiak »

reserved

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#5 Post by wiak »

reserved

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

A very simple initramfs that doesn't do much...

#6 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:36, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#7 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:37, edited 1 time in total.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#8 Post by rockedge »

I used the first script and the resulting initramfs.gz did complete successfully and it almost finished booting!. I ran the script on a FirstRib set up that worked well as a chrooted OS using Xnest . The boot went all the way to "booting kernel" and stayed there.

I will go ahead and work with script #2 and try again with the fully loaded FirstRib and if it fails again I will use a freshly built system to run the script on.
I am using the vmlinuz from a stock Bionic32 and have not yet attempted it in 64 bit...which I will do later.
It is just easier to break the 32 bit system over and over on my mental health.

Also the boot process was long since the created initramfs is 671 megs large.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#9 Post by rockedge »

It booted and ran....and a 28 meg initramfs.gz

I repeated the experiment with a freshly built FirstRib and a initramfs.gz was produced and using Grub4Dos and next to 20 other Puppy Linux installs, booted and functioned in a simple form. If I can the eth0 to be recognize and actually get some connectivity it would be fun to see how it works and add some X server stuff.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#10 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:37, edited 1 time in total.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#11 Post by rockedge »

hello wiak,

yes the FirstRib built straight from the second script worked quickly produced a 28 meg initramfs.gz and booted up really fast. it worked in it's limited form really well.

the other version I built FirstRib-big using the same procedure as above but then added all the goodies with base-system, rox, jwm ,geany,firefox. With this firstrib_rootfs ran the script and built the initramfs.gz which weighs in at 651 megs. I was excited that it began to boot...took more than a few minutes but hung right at the "booting kernel" message.


so I tried a simpler version which produced a 213 meg initramfs.gz....it contained Xorg server and rox xterm base-minimal...it also booted successfully but errors prevented anything other than the basics from working.

all the above work great using the host X or Xnest and the mount and unmount scripts

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#12 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:38, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#13 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:38, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#14 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:39, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#15 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:40, edited 2 times in total.

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#16 Post by rockedge »

very interesting stuff.....I am about to run the latest scripts and work some with what I have set up and running.

I am continuing to use the BIonic64-v8 for these experiments

also a 32 bit system is running what has been created

64 bit machine has 8 gigs RAM and the 32 bit has 4 gigs of RAM

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#17 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:40, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

initramfs.gz for booting firstrib now with save persistence

#18 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:41, edited 1 time in total.

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#19 Post by wiak »

.
Last edited by wiak on Sun 04 Aug 2019, 11:41, edited 1 time in total.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#20 Post by sc0ttman »

Hi wiak,

if you are good with wpa_supplicant, and want a non X way to setup wifi for users, this post may be of interest to you:

ncurses wifi tools:

http://murga-linux.com/puppy/viewtopic. ... 68#1030568

I kinda got them working in Puppy, but they need a little love..
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply