roar-ng and Subito GNU/Linux 0.9.5 Beta

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#91 Post by peebee »

Iguleder wrote:Wrong - actually, it isn't recognized. You need that sleep to let the kernel recognize the device.

It's the boot loader that loads the initramfs and the kernel - remember? :wink:
Hi

I can confirm that sleep=10 in menu.lst was sufficient to get a savefile to create.....

however, since creation the boot sequence gets all the way to the login prompt (only error message shown which might be significant just after "Loading save file ... done" it says:
ln: /mnt/union/mnt/home/sdb1: Operation not permitted
)

I type root and a lot of error messages flash up (unreadable) and then the screen blanks to grey and the laptop is dead.

I don't seem to be doing too well with this usb stick install ....

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#92 Post by 2byte »

peebee

Just for the heck of it try moving the files out of /subito to /


User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#93 Post by MinHundHettePerro »

Iguleder wrote:Regarding the save files file system - it can be anything, as long as you can create it from the initramfs. I think I could change this so save files are created at shutdown (so you don't have to put big packages in the initramfs) ... any thoughts? :roll:
Thoughts - mostly along the lines of ; MHHP, read (all of) the relevant scripts once more, before posting half-witted replies :oops:! Yes, of course, it's all there - create_save_file is just an auxiliary script to create a default-FS save-file, unless one is pre-created :oops:.

However, I wonder a bit about this line in init

Code: Select all

[ -n "$home_partition" ] && ln -s $home_partition /mnt/union/mnt/home
Thanks again for this wonderful build-tool :)/ MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

#94 Post by 2byte »

@aragon, thanks for the link, that was very helpful! See below.
nooby wrote: That is how it works for a standard full install Linux and not a Live CD or
a Live or Frugal install of Puppy or Subito?
Subito seems to follow it closely with only minor variations.

Following aragon’s tip, I put this together. Maybe someone else will find it useful?

Code: Select all

 
Outline of the Subito boot process

isolinux‭ (or other ‬boot loader‭)
	#‎


User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#95 Post by Iguleder »

Very nice explanation! /etc/profile should be executed by the login shell, as far as I know.

Regarding /mnt/home - it's there as a handy symlink to the save partition, for two reasons:
- You don't want every script to guess which partition is used for persistency.
- You don't have to remember its name.

There are many new features and improvements to roar-ng, most notably:
- Hybrid ISO image - you can write them directly to USB drives and there you have live-USB sticks!
- The long-anticipated user manual
- Bug fix for the D-Bus pidfile issue
- /mnt/home is now removed by the init script, since it is kept in the save file and causes a small error
- /etc/rc.update takes a few seconds on the first run, but doesn't slow down the boot process anymore on consequent runs

For all those who use roar-ng at the moment:
- I updated some packages and removed the old ones - we don't like legacy stuff!
- I removed hnb and Yad, since the former isn't very useful (after all, we've got Xpad and TuDu) and the latter isn't used by roar-ng, so it's a waste of space.
- I'm currently testing version 004, which seems pretty good now. I think I'll wait with implementing "full" mode (e.g saving to a partition) and upload it today, in its stable form.
- I added Geany to the repository :D

EDIT: updated the kernel from version 3.0.22 to version 3.0.23. I really like this approach, of sticking to the most recent long-term support kernel version - we get "free" security and stability updates every week or so! :)

Also, I implemented "full" mode in about 5 lines of code, untested. I'll do some basic testing ... then it's time to upload the latest and greatest roar-ng 004.

EDIT 2: roar-ng is now hosted in GitHub.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

2byte
Posts: 353
Joined: Mon 09 Oct 2006, 18:10

hpm-install

#96 Post by 2byte »

iguleder,

In hpm-install isn't PKG_DATA_DIR undefined here?

Code: Select all

# make sure the package is not installed already
if [ -f "$PKG_DATA_DIR/$2" ]
then
	echo "Error: the package is already installed."
	exit 1
fi 

# include the configuration file
. /etc/hpmrc 


User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#97 Post by Iguleder »

Fixed. Thanks for the report! :)
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

eldersprig
Posts: 3
Joined: Sat 28 May 2011, 12:52

#98 Post by eldersprig »

Great work!!

I see you've added Arch linux support in the git.

You can add ARM support easily now.

http://www.armedslack.org/

http://archlinuxarm.org/

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#99 Post by Lobster »

Igu the Rasberrians (Raspberry Pi)
http://www.metro.co.uk/news/892140-prog ... the-future
now have an ARM Arch base
http://www.raspberrypi.org/downloads

Mentioned your project - see below 8)

Can you compile for an architecture you don't yet have access to?
You did buy a couple of ARM devices . . .
- roar-ng and Subito GNU/Linux working on them?

Keep an eye on PARM
http://puppylinux.org/wikka/PARM

Message to raspberrians:
Bravo Arch
Arch did good.
The more penguins, The more options. The more learning.

Puppy Linux can use woof2 to build from Arch. Though our early
versions are likely to make use of Debian Puppy scripts.
Some Puppy Linux radical plans are based around Arch.
http://bit.ly/AdpMr9

We will be smaller, faster, leaner.
The raspberrians are promising me a series A board by the end of the week
- heard that before . . . :roll:
Anyway I tried your ISO as a potential build base but my Geforce graphics card is not supported by your default boot?

May have to use plan B (stripped down Debian to start with)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#100 Post by Iguleder »

In fact, you can build for another architecture, but in order to compile packages using roar-ng, you'll need to run it on that architecture, through any distro.

EDIT: Nouveau is included in the Subito kernel, so GeForce cards are OK'ish.

Regarding a Debian base - it doesn't matter on which distro you run roar-ng - packages built using it are cross-compiled within the distro you build anyway.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#101 Post by Lobster »

Iguleder wrote:In fact, you can build for another architecture, but in order to compile packages using roar-ng, you'll need to run it on that architecture, through any distro..
Many thanks :)
Will run through Debian and as displaying on HDMI TV, graphic card probs should be circumnavigated..
Just managed to order a B board RPi (at last) - 58 days to delivery
- in Internet time I think that is aprox 3 years

Hope to have an A board sooner - thanks to Ed (another Puppy in US) for his help with the Rpi Foundation :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#102 Post by MinHundHettePerro »

Upon fsck:ing my roar-ng-build's save-file (ext2), there are many FS_errors ...

Right, there is a sequential mounting of file-systems, which are unioned by aufs at / - then if load_sfs is run for e.g. devx.sfs, there is another mountpoint remounted ro in the aufs-tree at / .

How to disentangle this mess, for to cleanly unmount /mnt/save and /mnt/home_partition, by unmounting/remounting backwards? Is it possible? The woof-builds unmount save-files and home-partitions cleaner, irrespective of any fsck run at re-boot, than my roar-ng builds.

Can a cleaner unmount of save-file and home-partition be achieved by a remount,ro of the aufs-tree, or even tricked by a blunt, non-remounted ro, sync;umount -l?

I did read the aufs and aufs-utils documentation and, I must admit, I ended up non-the wiser ... :oops:


Roar-ng is fun :) (and somewhat addictive :shock:)

Grateful for any input :)/ MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#103 Post by Iguleder »

Yep, there is some issue with ext2 errors.

However, I don't think it's possible to cleanly unmount the Aufs file system because it's the file system root. I'll take a look at this on this weekend.

I've been thinking - maybe we should revert back to the old behavior - make create_save_file manual and put it in the main file system, so the user can create a save file with any file system (since the required tools are there).
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Max Headroom
Posts: 421
Joined: Wed 28 Jun 2006, 07:17
Location: GodZone Kiwi
Contact:

G'day Iguleder, Please eXplain this dd...

#104 Post by Max Headroom »

G'day Iguleder, Please eXplain this dd...

This ISO is hybrid, which means you can make a live USB easily, just dd it to the device.

Cheers :)

gcmartin

links in the Opening Page (OP)

#105 Post by gcmartin »

The ISO and DEVX links in the OP is broken.

Also, as I may remember, there is a Manual/Guide floating around somewhere; is there a link to it (I may have missed that in the OP)

Here to help

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#106 Post by Iguleder »

There's a guide, next to the code, in the "doc" directory.

And yes, now I found out everything to deleted. I just rebuilt the package repository completely this Saturday and synced it using LFTP, which removed all other files :cry:

Regarding "live USB" - do this to your device -

Code: Select all

dd if=/path/to/iso of=/path/to/device
and there you have a bootable stick. In my case, I used this:

Code: Select all

dd if=/mnt/sda6/subito-0.9.5.iso of=/dev/sdb
Use this with care! You can easily lose all your data this way - don't do this unless you're completely aware of all parameters and what they mean.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

zomzilla
Posts: 24
Joined: Wed 04 Jan 2012, 16:56

#107 Post by zomzilla »

so i am a little confused; using woof you are given the option to choose a base distro

does roar-ng do this?

maybe i should just run it and find out... :)

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#108 Post by Iguleder »

The "base distro" in Woof means which distro to take all non-PET packages from.

In roar-ng, you can choose for each package, from which distro to take it. This way, you can use packages of more than one distro - way more flexible and generic! :wink:
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

zomzilla
Posts: 24
Joined: Wed 04 Jan 2012, 16:56

#109 Post by zomzilla »

oh!

well in that case ( this is what i aim to end up with you see) how would just asking roar to download pacman + dependencies work?

when i have the time (soon! so soooooon lol) i intend to make and maintain a puplet that is rolling-release via a pacman (arch package manager) wrapper that uses arch packages as much as possible and also looks for most up-to-date puppy packages

how far would putting pacman in the list go?


BTW

i attached a dash.pet as i couldnt find one when using roar
Attachments
dash.pet
(74.26 KiB) Downloaded 517 times

gcmartin

#110 Post by gcmartin »

Hi @Iguleder

In telling a colleague about your distro, they gave up without ever starting. They were turned off by the opening post where you "target" the location of the ISO as well as the DEVX files. Its near the bottom of the post under the tit "Subito GNU/Linux Alpha 1".

I know you moved them to GIT, but they didn't figure that out.

FYI

Post Reply