Original/Standard OS (OpenPeak) running on USB - Possible?

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
Whizzey
Posts: 5
Joined: Fri Jun 29, 2012 9:08 am
Location: Manchester, UK

Original/Standard OS (OpenPeak) running on USB - Possible?

Post by Whizzey »

Hi,

I have had a few Jogglers that I have manged to fix for friends using Roobarbs reflash tool, and I have also added functionality using PNP3, all great stuff from some very talented people. Thanks :D

Unfortunately one of the Jogglers appears to have issue with its internal memory. I have tried both reflash tools (Roobarb and OpenPeak) and various other suggestions on this forum, and still doesnt boot past the O2 screen at startup.

EFI is fine (although had to use the hub and keyboard trick at one stage) and I can boot off the USB drive happily. I have tried various options inc. ICS, Joli OS, Squeezeplay OS, and whilst they are all good an provide great functionality, what my brother in law really wants is the Standard OS (OpenPeak update is fine) ideally with PNP3 also installed.

Long Story short, as I can boot from USB hapily enough, is there anyway to run the Standard OS from a pendrive?

Thanks again to all the people on this forum and the hard work.

Whiz

PS: apologies if this is already covered somewhere, I did a search but couldnt find it.
dazza99
Posts: 5
Joined: Thu Nov 10, 2011 1:58 pm

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by dazza99 »

Have you tried creating a single partition as in this http://www.jogglerwiki.com/forum/viewto ... 153#p11008.

Worked for me
Whizzey
Posts: 5
Joined: Fri Jun 29, 2012 9:08 am
Location: Manchester, UK

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by Whizzey »

Hi dazza99,

Thanks for the reply. I had read some of that topic previously, but I think I have somehow missed the progress that has been made.
I'll read it all later tonight when I have some time, and give it a go as it would definitely be the most ideal result.

I'd still be curious about running the Original/Standard OS from a USB pen drive, partly if the 1 partition trick doesnt work, but also if there is a permenant internal memory error, if not now, sometime in the future.

From the small amount of Linux Joggler tech know how I have picked up on here, I'd imagine as its basically a linux distro that it shouldnt be too difficult, however I will concede thats probably not the case, and ultimately it's probably not as useful a project as the new OS's etc. ;)

Whiz
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by roobarb! »

Can't be done, I'm afraid. The kernel in the original OS is not compiled with USB support at boot time.

I have seen a kernel config file, so if you fancy running up an Ubuntu 8.04 build system and compiling your own kernel, then swapping that into the original OS and building a new boot partition, then you might be in with a chance. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Whizzey
Posts: 5
Joined: Fri Jun 29, 2012 9:08 am
Location: Manchester, UK

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by Whizzey »

roobarb! wrote:Can't be done, I'm afraid. The kernel in the original OS is not compiled with USB support at boot time.

I have seen a kernel config file, so if you fancy running up an Ubuntu 8.04 build system and compiling your own kernel, then swapping that into the original OS and building a new boot partition, then you might be in with a chance. :)
Hi Roobarb!, thanks for your input.

I think this perfectly illustrates my comment regarding "I'd imagine its not too difficult, however I will concede thats probably not the case" ;)

Whilst I probably could figure out how to do what you have suggested (hopefully :? ), it seems like a lot of hard work for very little gain, and as it would only give me a chance, and it's not actually my Joggler, I think I will just admit defeat regarding the OS on USB.

I will give the solution mentioned by dazza99 a try and I'll report back on that thread on how I get on.

Thanks again for the responses, and to those that read and thought about it. As has been mentioned previously, this is a great community, very friendly and always willing to help, and without you all I think Joggler's all over the world would of ended up collecting dust somewhere! :D
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by Wilberforce »

I don't think you'd have to recompile anything. Just repack the initrd with the usb kernel modules off the rootfs.
User avatar
roobarb!
Posts: 1769
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Original/Standard OS (OpenPeak) running on USB - Possible?

Post by roobarb! »

Wilberforce wrote:I don't think you'd have to recompile anything. Just repack the initrd with the usb kernel modules off the rootfs.
Hmm, I have to bow to your experience there - that's not something I have ever done before!
BirdsLikeWires - Get fresh builds of Debian Bullseye, Bookworm, and Trixie for OpenFrame with the latest 5.10, 6.1, and 6.12 kernels! 8-)
Wilberforce
Posts: 134
Joined: Sun Apr 15, 2012 4:52 pm

Re: Original/Standard OS (OpenPeak) running on USB - Possibl

Post by Wilberforce »

roobarb! wrote:
Wilberforce wrote:I don't think you'd have to recompile anything. Just repack the initrd with the usb kernel modules off the rootfs.
Hmm, I have to bow to your experience there - that's not something I have ever done before!
Think you were right on this one. Just checked... no initrd :D

Edit:
Maybe you could try something like:
get kernel boot args from dmesg output on working joggler
boot into a ubuntu usb distro
mount /lib/modules on mmc over /lib/modules
use mkinitramfs to gen initramfs
use grub, original kernel and new initramfs on boot partition of your usb openpeak distro (use bootargs obtained earlier in grub.cfg)
Post Reply