Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 03:49
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
roar-ng and Subito GNU/Linux 0.9.5 Beta
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 6 of 12 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Next
Author Message
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Sat 25 Feb 2012, 18:25    Post_subject:  

roar-ng-001 produced a working iso that boots to cwm, but 003 boots to a black screen. Most distros do that on my amd 64 kit.

Any idea what changed between 001 and 003 that might cause this?

_________________

Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 26 Feb 2012, 04:32    Post_subject:  

What am I suppose to extract that bz2 thing with? Xarchive pupzip says
...: No wrapper found for archive /mnt/home/Texts-etc/roar-ng-howto.pdf.bz2
sh-4.1#

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Sun 26 Feb 2012, 09:37    Post_subject:  

bz2 is the bzip2 open source compression algorithm. I'm surprised your pup doesn't have it. Here's the howto in tar.gz for you
roar-ng-howto.pdf.tar.gz
Description 
gz

 Download 
Filename  roar-ng-howto.pdf.tar.gz 
Filesize  53.97 KB 
Downloaded  233 Time(s) 

_________________

Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 26 Feb 2012, 10:57    Post_subject:  

Thanks MHHP told me too bzip2 -d roar-ng-howto.pdf.bz2

I had no idea what a bzip2 where. Had not seen it before.
Thanks for caring about me

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
peebee


Joined: 21 Sep 2008
Posts: 1466
Location: Malvern, Worcs, UK

PostPosted: Sun 26 Feb 2012, 13:56    Post_subject:  

I'm struggling with the boot code to create a savefile....

I've got subito on my usb stick in a directory called subito

If I put home=sdb1 into menu.lst on the kernel line then I get an error message on boot saying directory /mnt/sdb1 does not exist....

If I have no home= code then subito does boot ok but non-persistently

Code:
title Subito (sdb1/subito)
  find --set-root --ignore-floppies /subito/initrd.gz
  kernel /subito/vmlinuz home=sdb1
  initrd /subito/initrd.gz


What do I need to put???

Thanks
peebee

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
MinHundHettePerro


Joined: 05 Feb 2009
Posts: 853
Location: SE

PostPosted: Sun 26 Feb 2012, 20:07    Post_subject:  

Hello, Iguleder Smile!

As of the initrd skeleton in roar-ng-003, the only possible SAVE_FILE_FS is ext2. As you'd know, easy enough to also allow reiserfs, while only calling busybox built-ins in initrd, by changing the case of the force parameter in initrd/sbin/create_save_file (already implemented in my 32-bit build, don't ask me why, there's no reason, really - just one of the things I try to do with save-files, be it subito or puppy ........).
Of course, since rootfs.sfs is already mounted at this point, it would, self-evidently, be relatively easy to include any other FS available (provided mkfs.whatever exists) as a SAVE_FILE_FS choice - with minor tinkering, thus catering to e.g. the ext3/4 crowd ......

Any thoughts on this? Or are you going the route of save-partitions?

Myself, I like both save-files and save-partitions, depending on where and why.

Babbling on, while testing out this useful tool Smile.

Thanks for roar-ng, I'm really having fun using it Smile/ MHHP

_________________
Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285

Slackos & 214X, ... and Q6xx
Nämen, vaf.... ln -s /dev/null MHHP
Back to top
View user's profile Send_private_message 
Iguleder


Joined: 11 Aug 2009
Posts: 1923
Location: Israel, somewhere in the beautiful desert

PostPosted: Mon 27 Feb 2012, 16:14    Post_subject:  

I changed the save files mechanism a 'lil bit. In roar-ng 003, you need to specify a home partition (e.g home=sdb1) and a save file is created automatically.

In 004 (which will be uploaded this weekend, hopefully), there's another parameter - "boot_mode", which can be either "live" or "frugal", with a future "full" option. "Live" means a live session (the default), "frugal" means a save file located under the "home partition" and "full" means an entire partition instead of a save file.

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? Rolling Eyes

_________________
My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
peebee


Joined: 21 Sep 2008
Posts: 1466
Location: Malvern, Worcs, UK

PostPosted: Tue 28 Feb 2012, 03:45    Post_subject:  

Iguleder wrote:
specify a home partition (e.g home=sdb1) and a save file is created automatically.


Not created for me I'm afraid Iguleder - I just get the error message that /mnt/sdb1 cannot be found and the boot crashes.....

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send_private_message Visit_website 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 28 Feb 2012, 03:58    Post_subject:  

Subito being based on Slackware repository?
and Slax like OS also using Slackware repository
I come to think of Porteus OS or Nimblex or CDLinux
or .... They all of them allow for slax.dat save files
and them work on same partition that one boot from.

Easy to handle even by noobs like Nooby they work even
for live and frugal so that would be something I live. But you are the Boss!
Porteus OS http://porteus.org/

example of grub4dos menu.lst on how to save changes to a .dat file.


title Porteus w/changes
root (hd0,1)
kernel (hd0,1)/porteusboot/vmlinuz from_dir=porteus/ ramsize=60% root=/dev/ram0 rw fsck lxde kmap=se changes=/mnt/sda2/porteus12rc.dat // copy2ram toroot nocd noeject noswap
initrd (hd0,1)/porteusboot/initrd.xz
boot

I would delete some of the (hd0,1) one would not need all of them Smile
But this is the code they gave me in their forum for the latest RC1 .

changes=/mnt/sda2/porteus12rc.dat sda2 being the only partition I use
for Linux. The OS itself has a program that make such dat files but
seems it has a bug in it??? Older Slax had already made slax.dat files
that one could extract ready made.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Tue 28 Feb 2012, 10:44    Post_subject:  

@peebee

Maybe your system hasn't had time to recognize the usb stick? This is an issue with other distros. You could try home=sdb1 sleep=10, or whatever number seems best.

Just a thought.

Edit: Nevermind. Sorry. If your initrd.gz is on the stick then of course it's already recognized.

I need more coffee.
.

_________________

Back to top
View user's profile Send_private_message 
Iguleder


Joined: 11 Aug 2009
Posts: 1923
Location: Israel, somewhere in the beautiful desert

PostPosted: Tue 28 Feb 2012, 16:51    Post_subject:  

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

_________________
My homepage
Back to top
View user's profile Send_private_message Visit_website MSNM 
ICQ 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 28 Feb 2012, 18:12    Post_subject:  

Iguleder should know such but to support it
I just mention that Barry put such delays in
his puppy too so it is a known thing.

Igu have you tested if 5 seconds is enough or
does one need more? okay depends on hardware?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
2byte

Joined: 09 Oct 2006
Posts: 357

PostPosted: Tue 28 Feb 2012, 20:42    Post_subject:  

AHH, I do remember now, Iguleder. Thanks again. I still need more coffee

You know, it would really be helpful to have a step by step overview of how linux boots to a desktop. I'll bet there's some of those on the net, he thinks.

Subito is advancing and I'm still at 001 but even so managed to build a 64 bit slackware 13.37 based subito with icewm that actually works on my kit.

Very Happy ridiculously pleased about that Embarassed

_________________

Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 29 Feb 2012, 04:42    Post_subject:  

2byte wrote:
You know, it would really be helpful to have a step by step overview of how linux boots to a desktop. I'll bet there's some of those on the net, he thinks.


Maybe start here:

http://en.wikipedia.org/wiki/Linux_startup_process

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 29 Feb 2012, 06:21    Post_subject:  

aragon wrote:
2byte wrote:
You know, it would really be helpful to have a step by step overview of how linux boots to a desktop. I'll bet there's some of those on the net, he thinks.


Maybe start here:

http://en.wikipedia.org/wiki/Linux_startup_process

aragon


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?

There are "well established" protocol for setting up a restricted
"Live Session User" in Linux? And Puppy and maybe Subito
change that protocol for allowing creating a save file which
the standard protocol most likely don't allow for a "Live Session User"
in Linux?

Another way to say this is that The Dev decide what protocol to use. Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 6 of 12 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0896s ][ Queries: 13 (0.0067s) ][ GZIP on ]