When booting from CD and your pup_save file is on a SATA drive, PUPMODE is set to 13 instead of 12. Here's my PUPSTATE:
PUPMODE=13
PDEV1='hdc'
DEV1FS='iso9660'
PUPSFS='pup_214.sfs'
PUPSAVE='ext3,sda4,/pup_save.2fs'
PMEDIA='idecd'
SATADRIVES='sda '
#these directories are unionfs layers in /initrd...
SAVE_LAYER='/pup_ro1'
PUP_LAYER='/pup_ro2'
ZDRV='iso9660,hdc,/zdrv_214.sfs'
Here's some history:
http://www.murga-linux.com/puppy/viewto ... 63&t=14054
2.14 beta SATA drive problem (solved)
2.14 beta SATA drive problem (solved)
Last edited by kirk on Tue 20 Feb 2007, 02:25, edited 1 time in total.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
My mind was not focussed, been sitting in front of this screen too long today. I posted the above, but it has nothing to do with this thread.Dougal, with help of others, did figure out how to distinguish between a USB Flash and hard drive, I think it is a 'removable' flag -- Dougal can confirm this.
Anyway, it is not implemented in 2.16. If the differentiation between the two types is consistent when I get to test on some more hardware, I am targetting to include in 2.17. So then it should finally work right, 12 instead of 13.
If I recall rightly, Dougal found this 'removable' flag in /sys, which currently is not mounted in the initrd. So, I wonder if the same info is available in /proc?
Puppy is able to detect which drives are SATA at bootup, so should be able to bootup with PUPMODE=12. Something went wrong with the logic between 2.14 and 2.16. I'll check it out.