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 18 Jan 2020, 15:50
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to boot with eMMC flash memory?(Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Mon 11 Nov 2019, 05:37    Post subject:  How to boot with eMMC flash memory?(Solved)  

Hello
I have a 10ZIG 4472 thin client. 1.33ghz, Intel Atom E3825 (Dual Core), 2gb ram, 4gb eMMc flash. Puppy xenial will install but Grub4Dos cant find suitable partitions.
Is there any way past this.
Thanks
number77

Last edited by number77 on Tue 19 Nov 2019, 06:22; edited 1 time in total
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 635
Location: S.E Australia

PostPosted: Mon 11 Nov 2019, 05:51    Post subject:  

I had an emmc & found partitions were hidden. Using Gparted I unticked hidden flag & was able to install.
Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Mon 11 Nov 2019, 07:15    Post subject:  

ozsouth wrote:
I had an emmc & found partitions were hidden. Using Gparted I unticked hidden flag & was able to install.

I have looked at that but flags were not hidden.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13457
Location: Arizona USA

PostPosted: Mon 11 Nov 2019, 10:53    Post subject:  

What does Gparted say about its partitions and their file systems?
Back to top
View user's profile Send private message 
rufwoof


Joined: 24 Feb 2014
Posts: 3711

PostPosted: Mon 11 Nov 2019, 11:19    Post subject:  

Boot using a usb stick with grub4dos installed to that, and chain to the emmc maybe ??

As another option for the more adventurous, I've built a minimal kernel/vmlinuz, 11.7MB with the initrd contained within that. Wifi net connects at bootup, and has openssh (so I can sshfs mount or have it act as a sshfs/ssh server, ssh, sftp, scp ...etc.), simple-mtpfs (so I can mount my android phone), screen (terminal multiplexing), mc (file manager and text editor), ccrypt (for encrypting ssh keys etc.) ... and kexec. With that I can download (or mount) any other system, and use kexec to boot it. That is very machine specific i.e. compiled with localyesconfig so the modules/firmware are all statically built into the kernel. I just boot that (usb with grub4dos installed), and then boot (kexec) whatever using that.

With kexec available, to boot my Fatdog for instance I have a script ...
Code:
#!/bin/ash

CMD="pkeys=uk waitdev=5 "
CMD="$CMD basesfs=ram:uuid:5df8f89e-33d5-4720-b3f2-9c9030a718bd:/fd64.sfs "
CMD="$CMD savefile=direct:multi:uuid:5df8f89e-33d5-4720-b3f2-9c9030a718bd::"
clear
echo Loading Fatdog kernel
kexec -l fatdog-vmlinuz \
      --initrd=fatdog-initrd.xz \
      --command-line="$CMD" >/dev/null 2>&1

clear
echo "Booting Fatdog (multi-session save)"
kexec -e

Note that I use uuid instead of partition names (such as sdb1) for identification of where the vmlinuz/initrd/fatdog main sfs and save files (sfs's) are located, in my case the uuid of the usb stick is that 54f8.... value as above.

That does involve kernel configuring/compiling. I just downloaded a kernel from kernel.org, loaded the Fatdog devx and then ran make localyesconfig to create a kernel .config with whatever devices were available (connected) at that time, i.e. my wifi and usb's. Then run make menuconfig and check/change things (such as setting it to use a specific/named initrd (initramfs)). With that saved then run make -j3 (I have 2 cores on my laptop i.e. cores+1 as the -j value), that does take a hour (or two). For the initrd I used a cut down version of Fatdog's initrd and I also compiled/iinserted kexec (and mc/openssh/ccrypt ..etc.) into that.

Once built once for a particular machine, then you can just use that usb stick as-is thereafter. Just add/remove scripts such as the one above to boot different systems. Or just boot it as-is (being small it boots very quickly) and ssh into a ssh server and irc/email/surf/etc. from there.

I boot that kernel using a menu.lst entry of
Code:
title 4.14.153 kernel/localyesconfig, cut down fatdog initrd
root (hd0,0)
kernel /bzImage net=wpa2:abcd1234-2G:mypassword:wlan0:dhcp

(note that I left the compiled kernel filename as bzImage rather than renaming it to vmlinuz, I've also changed the ssid and password in the above code rather than posting my actual ssid and password).

In order for the make localyesconfig to actually capture the emmc card/device (statically build the modules for that into the kernel), just remember to have the emmc device inserted/mounted when you run make localyesconfig.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Mon 11 Nov 2019, 12:19    Post subject:  

Flash wrote:
What does Gparted say about its partitions and their file systems?

Gparted gives choice mmclk0 MMC sem04g
or mmclk0 rpmbcard

Grub4dos gives No supported file system in
/dev/mmcblk 0 boot0 (none)
/dev/mmcblk 0 boot1 (none)
/dev/mmcblk 0p2 ext4

Does not mean much to me.
Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Mon 11 Nov 2019, 12:23    Post subject:  

rufwoof you have lost me, sorry.

By the way Daphile, the music server, will install and boot to the thin client.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13176
Location: S.C. USA

PostPosted: Thu 14 Nov 2019, 21:51    Post subject:  

number77 wrote:
Flash wrote:
What does Gparted say about its partitions and their file systems?

Gparted gives choice mmclk0 MMC sem04g
or mmclk0 rpmbcard

Grub4dos gives No supported file system in
/dev/mmcblk 0 boot0 (none)
/dev/mmcblk 0 boot1 (none)
/dev/mmcblk 0p2 ext4

Does not mean much to me.

Does this eMMC have some version of Linux on it?
If yes.
Is it some version of Chrome OS?

That partition information looks like what my Chromebook had on the internal eMMC.
All I can say is it is not normal for any Puppy Linux OS to use.

If all you want is Puppy Linux on the eMMC.
Try using Gparted to completely delete everything on that eMMC.
Make a new partition table (msdos)
(that should delete everything)
Partition and format as you like.
I assume you know about boot flag placement.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
peterw

Joined: 19 Jul 2006
Posts: 420
Location: UK

PostPosted: Fri 15 Nov 2019, 04:37    Post subject: Reference for this thin client  

A useful source of information: https://www.parkytowers.me.uk/thin/10zig/44xx/
And: https://www.parkytowers.me.uk/thin/10zig/44xx/linux.shtml.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5797
Location: King's Lynn, UK.

PostPosted: Fri 15 Nov 2019, 08:40    Post subject: Re: Reference for this thin client  

peterw wrote:
A useful source of information: https://www.parkytowers.me.uk/thin/10zig/44xx/
And: https://www.parkytowers.me.uk/thin/10zig/44xx/linux.shtml.


@ number77/peterw:-

Good source of info, that. Starhawk got into thin clients in a BIG way, the last couple of years he was with us, and I remember now that's the same site where he found all the stuff he needed to know...


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Fri 15 Nov 2019, 15:01    Post subject:  

bigpup wrote:
number77 wrote:
Flash wrote:
What does Gparted say about its partitions and their file systems?

Gparted gives choice mmclk0 MMC sem04g
or mmclk0 rpmbcard

Grub4dos gives No supported file system in
/dev/mmcblk 0 boot0 (none)
/dev/mmcblk 0 boot1 (none)
/dev/mmcblk 0p2 ext4

Does not mean much to me.

Does this eMMC have some version of Linux on it?
If yes.
Is it some version of Chrome OS?

That partition information looks like what my Chromebook had on the internal eMMC.
All I can say is it is not normal for any Puppy Linux OS to use.

If all you want is Puppy Linux on the eMMC.
Try using Gparted to completely delete everything on that eMMC.
Make a new partition table (msdos)
(that should delete everything)
Partition and format as you like.
I assume you know about boot flag placement.

Delete partition , new partition is easy. boot flag placement I am not sure, is that the same as set boot flag. That is done. Xenial installs but it's grub4dos that does not find any useable partitions.
Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Fri 15 Nov 2019, 15:05    Post subject: Re: Reference for this thin client  

peterw wrote:
A useful source of information: https://www.parkytowers.me.uk/thin/10zig/44xx/
And: https://www.parkytowers.me.uk/thin/10zig/44xx/linux.shtml.

Thanks peterw, I use that site all the time but do not understand everything.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13176
Location: S.C. USA

PostPosted: Fri 15 Nov 2019, 15:22    Post subject:  

Quote:
Delete partition , new partition is easy. boot flag placement I am not sure, is that the same as set boot flag.

Yes set the boot flag on the first partition.

Do not just delete a partition and partition.

In Gparted->Device->Create Partition Table
Select msbos for type of partition table.

Then make partitions.

Making a new partition table as msdos, will make sure the partition table is one that Grub4dos can use and work with.

If you can access the computers bios setup.
Look to see if there are anything in the bios setup that may affect internal storage access.
Some kind of security setting, access setting, boot order, etc....

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 2118
Location: N.E. USA

PostPosted: Fri 15 Nov 2019, 18:52    Post subject:  

Generally speaking... the bios will have a boot order and hard-drive order. A frugal-pup install needs to change BOTH to the device name (example SanDisk USB, or XYZZ_eMMC) as the first choice.

Regards
8Geee

_________________
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."
Back to top
View user's profile Send private message 
number77

Joined: 22 Oct 2010
Posts: 772

PostPosted: Sat 16 Nov 2019, 12:05    Post subject:  

I have tried all of your suggestions. Nothing has worked so far so I think it is time to stop, it was not a brilliant idea anyway running xenial on such small resources. and with emmc flash. Starhawk from Parkytowers obviously had problems so with my lack of knowledge its not going to work so I will thank you all for your help I do appreciate it.
number77
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0626s ][ Queries: 11 (0.0044s) ][ GZIP on ]