LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-21-2014, 02:46 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 487
Blog Entries: 13

Rep: Reputation: 47
munti booting IFC6410


I got fed up waiting for Inforce to let us have a neat way of multibooting (with proper boot loader for uSD and/or the other media the claim to be able to boot from).

I also got fed up of having to fiddle with fastboot in order do boot different OS on different media so I came up with a workaround: initrd that lets you choose ,via serial console, from a preconfigured set of root filesystems.

The initrd image is here

Unpack it and have a look in /conf … you will find 2 files (you can add as many as you like) that you can use as examples.

Make whatever changes you require and repackage it up. Create a new kernel image and test/flash it via fastboot.

The init script looks in /conf and will display the options that it finds. A time out of 5 seconds is set and the default option is the second one (alphabetically).

You also get an extra option that will drop you into a shell in the initrd for debugging/recovery.

For the moment you'll have to boot everything with the same kernel but if kexec works it could be possible to boot different kernels ... allowing for booting android along with ordinary linux distributions

PS: I noticed a bug in the init script in the initrd image. To fix it you need to add "umount /dev/pts" before the switch_root.

Last edited by louigi600; 12-23-2014 at 01:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inforce6410 IFC6410 single board computer louigi600 Slackware - ARM 19 11-12-2016 02:19 AM
[SOLVED] freedreno for IFC6410 louigi600 Slackware - ARM 3 11-17-2014 01:50 PM
[SOLVED] IFC6410: Issues with hardware clock louigi600 Slackware - ARM 5 11-13-2014 06:41 PM
[SOLVED] Macbook Air '14 Dual Booting Mac and LinuxMint, having problems live booting dragonborn Linux - Newbie 7 09-03-2014 05:20 AM
LXer: Installing Backtrack5 (Ubuntu) using a Thumbdrive for Dual-booting or Solo-booting LXer Syndicated Linux News 0 08-04-2011 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration