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 Sat 20 Sep 2014, 14:16
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
[SOLVED] Can't figure out how to do a savefile on Fatdog64
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
jjramsey

Joined: 15 Jun 2013
Posts: 7

PostPosted: Sun 16 Jun 2013, 00:15    Post subject:  [SOLVED] Can't figure out how to do a savefile on Fatdog64  

[ETA: See this post: http://www.murga-linux.com/puppy/viewtopic.php?p=708945#708945]

Ok, one big complication from the get-go: I'm playing with Fatdog on an Intel Mac Mini (mid 2010).

Anyway, I used "dd" to create a Live USB stick from the Fatdog64-621 ISO file, and then successfully booted Fatdog64 from the USB stick. When I went to reboot the computer, Fatdog64, of course, asked me if I wanted to create a savefile. When I got to the part where I was supposed to pick a partition for the savefile, I picked the partition for the USB stick itself, rather than the hard drive -- which seemed like a good idea at the time. However, Fatdog wouldn't let me put the save file there.

Where is the savefile supposed to go? Is the USB stick formatted wrong? I also burned the ISO to a CD, booted from that, and then attempted to install Fatdog64 to the USB stick, but then I couldn't boot from the USB stick after that. In the install to the USB stick, the boot loader was (I think) saved to the MBR on the USB.

I is confused. Confused

Last edited by jjramsey on Tue 18 Jun 2013, 18:36; edited 2 times in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 16 Jun 2013, 01:38    Post subject:  

I trust they have described it in their FAQ

and several times in the threads. Use the link in my signature

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

Joined: 15 Jun 2013
Posts: 7

PostPosted: Sun 16 Jun 2013, 07:25    Post subject:  

nooby wrote:
I trust they have described it in their FAQ

and several times in the threads.


I looked already. From the FAQ:

Quote:
if you boot from a USB stick, you will only be able to create the save-file on the USB-stick.


Yet I apparently can't do this with Fatdog, or there's some wrinkle I'm missing.

I did take a closer look at the bit about putting the savefile on the hard drive, and it looks like it has to be in a format that Fatdog can write to. AFAIK, there are catches to Linux writing to HFS+ files, so writing to the hard drive is not such a great option. So I'm still stuck.

But thank you for your helpful reply.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 16 Jun 2013, 09:36    Post subject:  

Hope my response was not too tearse or what the proper word is.

It is the wrong user day. People are having family days away
from computer. FatDog has two devs and them usually answer
rather quick. Knowing them want us to read FAQ first I suggested
to start there. i've alway done frugal on NTFS HD the internal one
and never on USB and never on HFS+ formatted such so I had hoped
if you put in such key search words as FatDog USB savefile
that would find many such posts them describe how to do it.

what I do remember is that first time one should tell the OS
that one don't have a savefile that seems important.

so let us first try to find that text so we do it like them want you to set it up.

I try to google and you can confirm if you already have read it and tried it.

Monday I am sure of that some people knowing more than what I do
hopefully give you better advices so don't give up I would be surprised
if this is difficult at all. Searching together we should find it within some minutes or hours Smile So let us see whom find it first. I maybe can try on
one usb flash memory too to see what happens. I usually format them
Fat32 so hope that is okay for you too that is how them are sold here.

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

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 16 Jun 2013, 09:48    Post subject:  

Here is how it looks on internal HD sda1 before the save file are created
and how it should look after the save file get created.
Code:


 
title FatDog64 No save file
rootnoverify (hd0,0)
kernel /fd64/vmlinuz savefile=none
initrd /fd64/initrd


Code:


title FatDog64
rootnoverify (hd0,0)
kernel /fd64/vmlinuz savefile=direct:device:sda1:/fd64save.ext3
initrd /fd64/initrd


so as I get it the important boot code is this

savefile=none then follow the FAQ how you decide on
how big save file and where it is placed. Tell us what did happen.

Obviously you have to change sda1 to what your system name the USB
or maybe the FAQ give advice on what to try there. sdb1 maybe
and the (hd0,0) should be changed to what the boot expect or something that allow it to find it on its own.

Hope my advice is not too confusing. I have promised to only give
advice when I do know but knowing how few that care on Saturday and Sunday I gave it a try.

I still advice you to use the search link in my sgn and
read what advices others have been given for to how set up USB frugal boot of FD. [/code]

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Sun 16 Jun 2013, 10:15; edited 1 time in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 16 Jun 2013, 10:01    Post subject:  

Here is the proper link AFAIK
http://distro.ibiblio.org/fatdog/web/faqs/boot-options.html

Search for the word savefile A lot to read most if it way above
my noob level. so the easier thing to do is to find practical example
and look for what you need to change to suite your gear.
Quote:

Some examples:

savefile=direct:device:sda1 --- use savefile named fd64save.ext4 located in root directory of /dev/sda1, save directly to it

savefile=ram:usb --- use savefile named fd64save.ext4 located in root directory of the first found usb device, use RAM layer


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

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 16 Jun 2013, 10:20    Post subject:  

My hunch is that maybe the solution is here?

Quote:
I used "dd" to create a Live USB stick from the Fatdog64-621 ISO file,
and then successfully booted Fatdog64 from the USB stick.


You have to find the txt where they describe how to proceed from there?
I do remember vaguely they mention it somewhere.

Seems this is the latest thread to look in for help?
Fatdog64-620 Final (17 April 2013) and 621 (9 May 2013)
http://www.murga-linux.com/puppy/viewtopic.php?t=85684

I asked them to help you with the savefile. sorry me confusing things.

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

Joined: 15 Jun 2013
Posts: 7

PostPosted: Sun 16 Jun 2013, 13:59    Post subject:  

jjramsey wrote:
Anyway, I used "dd" to create a Live USB stick from the Fatdog64-621 ISO file, and then successfully booted Fatdog64 from the USB stick. When I went to reboot the computer, Fatdog64, of course, asked me if I wanted to create a savefile. When I got to the part where I was supposed to pick a partition for the savefile, I picked the partition for the USB stick itself, rather than the hard drive -- which seemed like a good idea at the time. However, Fatdog wouldn't let me put the save file there.


Ok, I've made a little progress, but not enough to actually get the savefile to be useful. It looks like I was on the right track when I made the USB stick the way I did, but to get writable space on the USB drive, I had to run fix-usb.sh (discussed here). After that, I had a FAT32 partition to which I could store the savefile.

Unfortunately, that didn't do much good, because that savefile isn't accessible during boot. The "savefile argument utility" isn't too helpful, either. It tells me to modify the menu.lst or syslinux.cfg files to add the argument savefile=ram:uuid:B909-8777:fd64save.ext4", but those files don't exist, and the files similar to them that do exist, grub.cfg and isolinux.cfg, respectively, are on iso9660 partitions and thus not writable. I did manage to get Fatdog64 to at least appear to load the savefile by pressing "e" at the GRUB boot menu and appending "savefile=direct:device:sdb3" to the "linux/vmlinuz" entry, but it isn't clear that any settings actually were stored in the savefile.

In an earlier session, I had enabled Bluetooth and set it to run at boot, using Fatdog's services tool in the Control Panel, and created the savefile as mentioned before. However, upon reboot, even after the savefile appeared to be loaded, Bluetooth was not enabled. Huh? Confused
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 16 Jun 2013, 15:06    Post subject:  

I don't understand this. Did the dd operation create a partition on the flash drive of type ISO9660?

1. Boot off the CD.

2. Run Gparted and reformat the flash drive to FAT32. Flag it as bootable.

3. Copy the core Fatdog files from the CD to the flash drive - vmlinuz and initrd.

4. Run Grub4Dos Bootloader Config. Select the flash drive as the target, not your hard drive.

5. Boot off the flash drive and make a savefile.
Back to top
View user's profile Send private message 
jjramsey

Joined: 15 Jun 2013
Posts: 7

PostPosted: Sun 16 Jun 2013, 17:13    Post subject:  

rcrsn51 wrote:

Did the dd operation create a partition on the flash drive of type ISO9660?


Yes, that's exactly what happened.

rcrsn51 wrote:

1. Boot off the CD.

2. Run Gparted and reformat the flash drive to FAT32. Flag it as bootable.

...


Ok, here I have a problem. If I use the default partition table format that GParted uses, Grub4Dos works without complaint, but the Mac won't boot from it. If I use the GPT format for the partition table -- which is what had been on the Live USB stick before I reformatted it -- then Grub4Dos complains of there not being a boot flag (even though the partition is set to be bootable), and if I press on ahead and let Grub4Dos try to install a bootloader, then fails with the error message "ERROR: Too few sectors to hold GRLDR.MBR."

Remember, as I said before, this is a Mac. There is no BIOS, only EFI, so some things that work just fine on normal PCs don't work here.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 16 Jun 2013, 18:17    Post subject:  

At some point, you had a second partition on the flash drive formatted as FAT? Try putting your savefile there. When Fatdog reboots it may search for the savefile and find it on the second partition.

Or have you already tried this?
Back to top
View user's profile Send private message 
jjramsey

Joined: 15 Jun 2013
Posts: 7

PostPosted: Sun 16 Jun 2013, 18:27    Post subject:  

rcrsn51 wrote:
At some point, you had a second partition on the flash drive formatted as FAT? Try putting your savefile there. When Fatdog reboots it may search for the savefile and find it on the second partition.

Or have you already tried this?


Yes, I have: http://www.murga-linux.com/puppy/viewtopic.php?p=708727&sid=0895dde8471aef2a32b7c1811bbcb9d4#708727
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2333
Location: Heart of Texas

PostPosted: Mon 17 Jun 2013, 11:09    Post subject:  

There is a shell script in the root of iso. that is used to regain the 'extra' space after the iso part, worked for me on smaller flashdrives, but very roomy flashdrives gave me problems.
Back to top
View user's profile Send private message 
jjramsey

Joined: 15 Jun 2013
Posts: 7

PostPosted: Mon 17 Jun 2013, 18:30    Post subject:  

Ted Dog wrote:
There is a shell script in the root of iso. that is used to regain the 'extra' space after the iso part


I know. I already mentioned fix-usb.sh above. As far as I can tell, it functioned adequately enough.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Mon 17 Jun 2013, 19:01    Post subject:  

jjramsey , I am happy that you are in the hands of people
that know what they talk about. But as you see it is not easy
combinations of hardware and software surprise us sometimes.

Here is a suggestion from the FatDog thread.
Gasem has put a lot of energy in a detailed walk through
how to address the USB using it's UUID name and maybe
that would work for you?

http://www.murga-linux.com/puppy/viewtopic.php?p=708904#708904
how to find out the UUID I trust the others know I remember vaguely
it has something to do with opening the terminal and doing blckid
and it list all the hardware? just my guess wish you all the best
leaving you now in better hands 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 from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1061s ][ Queries: 12 (0.0180s) ][ GZIP on ]