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 Mon 21 Apr 2014, 07:12
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
Slacko 5.4 - FINAL 2 Dec 2012
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 11 of 49 [730 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, ..., 47, 48, 49 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Wed 12 Sep 2012, 22:30    Post subject: Re: boot issue  

rcrsn51 wrote:
If you find vmlinuz and initrd.gz in a subfolder, then expect to find the sfs file there too. If it's not, quit with an error.

In exact, if puppy finds vmlinuz in a subfolder, it sets the subfolder name as the PSUBDIR, then expect to find the sfs file in a subfolder with the same name.

It likely occurs when one has a full install, which has /boot/vmlinuz, and another frugal install at later partitions. Frugal install at earlier partitions than the full have no problem.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Wed 12 Sep 2012, 22:32; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 8558
Location: Stratford, Ontario

PostPosted: Wed 12 Sep 2012, 22:31    Post subject:  

This is more common that I realized. Wary 522 does the same thing - looks in subfolders before it looks at the root.

At the moment, Precise is the only one that does it in the "right" order.
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Wed 12 Sep 2012, 22:36    Post subject: Re: boot issue  

rcrsn51 wrote:
At the moment, Precise is the only one that does it in the "right" order.

I think the precise beta has the same initrd dated 2012-03-28 and the same issue as the slacko beta has.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 8558
Location: Stratford, Ontario

PostPosted: Wed 12 Sep 2012, 22:44    Post subject:  

I checked Precise 5393 again and it does it right. If there is no psubdir argument, it finds the three files at the root and is not confused by other files in subfolders.
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Wed 12 Sep 2012, 23:39    Post subject: boot isse of the presice  

rcrsn51 wrote:
I checked Precise 5393 again and it does it right. If there is no psubdir argument, it finds the three files at the root and is not confused by other files in subfolders.

Confirm the copy of the vmlinuz is the same.

I tested the Precise 5393.
Note that the presice is installed in a subfolder, not at the root in my case.
'pmedia=ataflash' because the sda is a SSD. The uuid is that of sda3.
Code:
title Puppy precise 5.3.93 (sda3/precise)
  uuid d644d8da-1cd0-4976-bbba-91fa6de4c170
  kernel /precise/vmlinuz  pmedia=ataflash psubdir=precise pfix=fsck
  initrd /precise/initrd.gz

I copied sda3/precise/vmlinuz to sda2/Backups/vmlinuz.
Booted off with the above parameter got success.

Next, i removed the 'psubdir' parameter.
Code:
title Puppy precise 5.3.93 (sda3/precise)
  uuid d644d8da-1cd0-4976-bbba-91fa6de4c170
  kernel /precise/vmlinuz  pmedia=ataflash
  initrd /precise/initrd.gz

Booted off and failed... 'puppy_presice_5.3.93.sfs not found.'

In this case, the puppy found the sda2/Backups/vmlinuz and set the PSUBDIR to 'Backups' and failed to find the sda3/presice/puppy_presice_5.3.93.sfs.
The result may be the same if the frugal install was at root.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 8558
Location: Stratford, Ontario

PostPosted: Thu 13 Sep 2012, 08:36    Post subject:  

At the risk of beating this little exercise to death, I tried "psubdir=/". It worked! It picked the files at the root of the partition before looking in subfolders.

Which makes sense, except that psubdir doesn't usually need a leading slash.
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 486
Location: UK

PostPosted: Thu 13 Sep 2012, 10:06    Post subject: Re: boot issues  

It is evident that this forum is littered with posts relating to boot issues with typically either:

1. The main SFS or save-file not being found or
2. The incorrect sfs or save-file being loaded.

These issues generally crop up when multiple pups are in use or more advanced boot techniques are being used where the component parts of puppy are being held on different drives, sub-directories and partitions.

I am aware that BK's philosophy, with which I totally agree, is that Puppy should in the main (with the possible exception of pmedia=) be capable of booting without other boot codes & be clever enough to work things out for itself.
In addition new users should not have to concern themselves with complex boot codes.

Currently the additional codes are intended by him to provide hints/help to Puppy when more complex arrangements are deployed.

This is fine for non-advanced use as probably 90% of users will have all the puppy files together in one directory.

The current problem with advanced use seems to be that the boot codes can sometimes conflict with or undermine the search logic that hunts down the location of firstly the save-file(s) and then the main sfs & any additional sfs files that the selected save-file calls for to be loaded. Often removing a boot code can help but more often than not one has to hit on the right combination of codes by a process of trial and error.

A couple of real world working examples:

CASE 1: Kernel on 16 MEG Smartmedia with main sfs & savefile on NTFS HDD (sda1)

Code:
LABEL 5332
MENU LABEL Slacko 5.3.3.2    05/07/12
KERNEL /p5332/vmlinuz
APPEND initrd=/p5332/initrd.gz pmedia=atahd pupsfs=sda1:/p5332/puppy_slacko_5.3.3.2.sfs pdev1=sda1


CASE 2: Kernel on first Fat32 partition of USB2 flash main sfs & save file on 2nd ext4 partition of stick.

Code:
LABEL 5332
MENU LABEL Slacko 5.3.3.2    05/07/12
KERNEL /p5332/vmlinuz
APPEND initrd=/p5332/initrd.gz pmedia=usbflash pupsfs=sdb2:/p5332/puppy_slacko_5.3.3.2.sfs psavemark=2


Both of the above were a nightmare to get right. It is of course a matter for BK, but what I propose is a new boot code (say SEARCH=NO) that would totally override the search logic and codes to allow for the precise location of the following to be specified:

A: The location of vmlinuz & initrd
B: The drive, partition & directory containing the main sfs and any additional sfs files.
C: The drive, partition & directory containing the save-file(s)

This would, I believe, eliminate the uncertainty and knock this thorny issue on the head once and for all.
If UUIDs could also be adopted so much the better.

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
davec51

Joined: 13 Apr 2006
Posts: 480
Location: Virginia

PostPosted: Thu 13 Sep 2012, 14:35    Post subject: "can't find Puppyxxx.sfs file"--Solved  

I made a frugal install, put the .sfs file in both the root and subfolder where the other files were (slackobeta). Still, on boot the program can't find the meaty .sfs file.

The psubdir trick did it. I copies the file to the root and then directed the boot to that. I think my post was a bit premature, before I had carefully read the previous posts -- sorry.

Last edited by davec51 on Thu 13 Sep 2012, 15:31; edited 1 time in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Thu 13 Sep 2012, 15:03    Post subject:  

I should have read all pages.

Some of you refer to Precise but the thread is about slacko
so both of them then search same way and thus get confused?

Would be helpful if you guys took it up with Barry then
so we get an official way to solve this once for all.
Just my sloppy suggestion

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Thu 13 Sep 2012, 16:54    Post subject: homebank icons, i18n in firewallstate  

Some Homebank icons are missing and I have made i18n-ed firewallstate.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Thu 13 Sep 2012, 17:45    Post subject:  

**I think** the attached pet should fix homebank, please let me know

EDIT: I checked on a clean install, it does Smile
homebank-icons-1.fix.pet
Description 
pet

 Download 
Filename  homebank-icons-1.fix.pet 
Filesize  52.87 KB 
Downloaded  83 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Fri 14 Sep 2012, 07:44; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Thu 13 Sep 2012, 20:22    Post subject:  

rcrsn51 wrote:
At the risk of beating this little exercise to death, I tried "psubdir=/". It worked! It picked the files at the root of the partition before looking in subfolders.

Which makes sense, except that psubdir doesn't usually need a leading slash.
I guess that is like when your current working dir is '/' pwd shows / but if you chnge to /root you typ "cd root".

BTW, here's my menu.lst from Mageia on one of my laptops, uses legacy grub, supports UUID.

Code:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=2f6fb5b4-ce4d-45a4-9439-26af299a0d7f  splash quiet resume=UUID=9d0e347e-ef49-4a84-a88b-c7ba5620ab2e
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=2f6fb5b4-ce4d-45a4-9439-26af299a0d7f  failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2385
Location: Japan

PostPosted: Thu 13 Sep 2012, 20:38    Post subject: legacy grub and UUID  

01micko wrote:
BTW, here's my menu.lst from Mageia on one of my laptops, uses legacy grub, supports UUID.

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=2f6fb5b4-ce4d-45a4-9439-26af299a0d7f splash quiet resume=UUID=9d0e347e-ef49-4a84-a88b-c7ba5620ab2e
initrd (hd0,4)/boot/initrd.img

It does not mean the legacy grub supports UUID, but means the linux supports UUID.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Thu 13 Sep 2012, 22:54    Post subject:  

Thanks for the info shino

In that menu.lst I added:
Code:
title slacko
rootnotify (hd0,5)
kernel (hd0,5)/vmlinuz
initrd (hd0,5)/initrd.gz
Boot starts up fine but fails when xwin is run. I edited the kernel line at the boot with pfix=ram and it booted fine. I then made a savefile and rebooted, fine again. Must be machine specific. It fails on my desktop, works on my fastest laptop, didn't try any others yet.

Here's contents of /etc/rc.d/PUPSTATE
Code:
# cat /etc/rc.d/PUPSTATE
PUPMODE=12
PDEV1='sda6'
DEV1FS='ext4'
PUPSFS='sda6,ext4,/puppy_slacko_5.3.5.3.sfs'
PUPSAVE='sda6,ext4,/slackosave-zz.4fs'
PMEDIA=''
#ATADRIVES is all internal ide/pata/sata drives, excluding optical, excluding usb...
ATADRIVES='sda '
#ATAOPTICALDRIVES is list of non-usb optical drives...
ATAOPTICALDRIVES='sr0 '
#these directories are unionfs/aufs layers in /initrd...
SAVE_LAYER='/pup_rw'
PUP_LAYER='/pup_ro2'
#The partition that has the slackosave file is mounted here...
PUP_HOME='/mnt/dev_save'
#(in /initrd) ...note, /mnt/home is a link to it.
#this file has extra kernel drivers and firmware...
ZDRV=''
#complete set of modules in the initrd (moved to main f.s.)...
ZDRVINIT='no'
#Partition no. override on boot drive to which session is (or will be) saved...
PSAVEMARK=''
PSUBDIR=''
capture16326.png
 Description   
 Filesize   30.19 KB
 Viewed   920 Time(s)

capture16326.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Fri 14 Sep 2012, 22:15    Post subject:  

For anyone who wants to play with filesystems, btrfs is already a module in this Slacko beta.

Code:
# find /lib -name btrfs*
/lib/modules/3.2.28-4g/initrd/kernel/fs/btrfs
/lib/modules/3.2.28-4g/initrd/kernel/fs/btrfs/btrfs.ko
/lib/modules/3.2.28-4g/kernel/fs/btrfs
# modprobe btrfs


More about btrfs <--
https://btrfs.wiki.kernel.org/index.php/Main_Page
http://snarfu.com/slackware/slackware-btrfs-encryption/
https://help.ubuntu.com/community/btrfs
https://wiki.archlinux.org/index.php/Btrfs

Barry is introducing support at the userland level:
http://bkhome.org/blog/?viewDetailed=02992

and in the kernel:
Code:
CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=y


NB: all you need is btrfs-progs from the slackware repo and it becomes supported in gparted. (BTW, I just compiled gparted-13.1 thinking that's why it didn't have support Embarassed , anyway gparted gets an oops-update Cool )

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 11 of 49 [730 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, ..., 47, 48, 49 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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