/tmp/puppy_tahr_6.0.sfs; /tmp/initrd.gz; /tmp/vmlinuz

Booting, installing, newbie
Post Reply
Message
Author
kuman11
Posts: 248
Joined: Tue 26 Dec 2017, 09:32

/tmp/puppy_tahr_6.0.sfs; /tmp/initrd.gz; /tmp/vmlinuz

#1 Post by kuman11 »

I managed to copy puppy_tahr_6.0.sfs files in the above dir of GP Live which I run in RAM from a 4 Gb usb stick. The free space in the /tmp dir is 579 Mb now. Is there some way I could run Puppy from there?

I also have 2 Tahrsave files I could copy if necessary.

See my other topic for more info on my notebook.

http://murga-linux.com/puppy/viewtopic.php?t=112400
Last edited by kuman11 on Mon 15 Jan 2018, 08:15, edited 1 time in total.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

Re: /tmp/puppy_tahr_6.0.sfs

#2 Post by s243a »

kuman11 wrote:I managed to copy puppy_tahr_6.0.sfs file in the above dir of GP Live which I run in RAM from a 4 Gb usb stick. The free space in the /tmp dir is 585 Mb now. Is there some way I could run Puppy from there?

See my other topic for more info on my notebook.

http://murga-linux.com/puppy/viewtopic.php?t=112400
I think that the pdrv boot paramater specifies the location of base sfs file.

Do you want to boot into puppy from the boot loader or do you want to first boot into GP live and either switch root or chroot into puppy?

P.S. is this GP live?
https://gparted.org/livecd.php

P.S. You might find it easier to initial run puppy from the CD/DVD or first install to USB with some kind of USB installer like Unetbootin

I bookmarked some USB installers here:
https://www.pearltrees.com/s243a/more-i ... id12405939

kuman11
Posts: 248
Joined: Tue 26 Dec 2017, 09:32

#3 Post by kuman11 »

'do you want to first boot into GP live and either switch root or chroot into puppy?'

I run GP Live as I write now. This above would suite me well.

I also can't use the P.S. methods.

kuman11
Posts: 248
Joined: Tue 26 Dec 2017, 09:32

#4 Post by kuman11 »

I also have a 2nd partition on the same usb stick I can delete if necessary. I did it to install a Puppy on it & couldn't find a way.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#5 Post by s243a »

kuman11 wrote:I also have a 2nd partition on the same usb stick I can delete if necessary. I did it to install a Puppy on it & couldn't find a way.
You can install puppy to a folder (you don't need a whole partition).

Also copy the kernal (i.e. vmlinuz) and initrd.gz into the folder.

What boot loader are you using?

kuman11
Posts: 248
Joined: Tue 26 Dec 2017, 09:32

#6 Post by kuman11 »

I think it's a menu.1st file

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#7 Post by Sailor Enceladus »

Depending on the OS, the tmp folder might get cleared each time you reboot. So I think this folder might not be the best idea.

kuman11
Posts: 248
Joined: Tue 26 Dec 2017, 09:32

#8 Post by kuman11 »

'Sailor Enceladus
PostPosted: Today, at 08:21 Post subject:
Depending on the OS, the tmp folder might get cleared each time you reboot. So I think this folder might not be the best idea.'

I'll see what s243a would say. Then I might place them in the /home dir

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#9 Post by s243a »

kuman11 wrote:I think it's a menu.1st file
I'm going to guess you're using grub4dos then. You'll want a menu entry that looks something like:

Code: Select all

title Puppy tahrpup (sdb/tahr)
  uuid 1cd0f861-5576-42aa-af41-d09a6d260bc9
  kernel /tahr/vmlinuz   psubdir=tahr pmedia=usbflash pfix=fsck
  initrd /tahr/initrd.gz 
I'm assuming you called the folder tahr but if you want then you can try one of the directories mentioned above and see if it works. If you do then edit the above menu entry appropriately.

Either way this is where all your files have to go. Which are:

puppy_tahr_6.0.sfs
vmlinuz
initrd.gz

You can try also copying the save file here if you want but maybe try doing this without a save file first to see if it works.

You'll also have to edit the uuid in the above menu entry. You can get the uuid be using the blkid command.
https://serverfault.com/questions/3132/ ... filesystem

Note that we're doing everything manually here. If you are running puppy you might find one of the built-in tools easier to install puppy with like the grub4dos tool.

P.S. Sailor Enceladus is correct that if you put it in /tmp it might get deleted. Also he probably knows a fair bit more about puppy than me but I'm only guessing here about his pup expertise.

Post Reply