WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Remove the need of second partition or Network Boot.  (Read 1785 times)

Offline mbivol10

  • Newbie
  • *
  • Posts: 39
Remove the need of second partition or Network Boot.
« on: July 14, 2017, 02:51:39 PM »
Is it possible to load the os from /dev/mmcblk01 (vfat) and not have a second linux ext4 partition?
I have my project running on the piCore and I wonder if I can do everything from the 1 partition. It could become an easy drag and drop to install the OS. Also Pi 3 supports network boot so it would be even better If I had no SD card in at all. But For now what do I need to do to load the tcz from vfat instead of ext4 ? Can I somehow do this with the config ? Or will I have to compile the source.


As for the network boot. I am willing to learn if its possible with piCore but I only heard about it so I don't know much myself.
Another question is where did the source code for 9.x dissapear? :'(

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Remove the need of second partition or Network Boot.
« Reply #1 on: July 15, 2017, 03:25:29 AM »
That would be useful for this.
https://github.com/raspberrypi/usbboot

Redirect to a sub folder instead of another partition.
How to run piCore on a Zero from USB boot?

Offline mocore

  • Hero Member
  • *****
  • Posts: 633
  • ~.~
Re: Remove the need of second partition or Network Boot.
« Reply #2 on: July 15, 2017, 11:29:28 AM »
I have my project running on the piCore and I wonder if I can do everything from the 1 partition. It could become an easy drag and drop to install the OS.
Could the  'tcvd=' or cde boot options achieve loading 'everything from 1 partition'


http://forum.tinycorelinux.net/index.php/topic,1259.msg7198.html#msg7198
http://wiki.tinycorelinux.net/wiki:boot_options
http://www.tinycorelinux.net/faq.html#qemu



Also Pi 3 supports network boot so it would be even better If I had no SD card in at all.
the wiki also has a page on Netbooting !
« Last Edit: July 15, 2017, 11:44:35 AM by mocore »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Remove the need of second partition or Network Boot.
« Reply #3 on: July 15, 2017, 11:55:52 AM »
Is it possible to load the os from /dev/mmcblk01 (vfat) and not have a second linux ext4 partition?

piCore is residing on /dev/mmcblk0p1 only. You can delete /dev/mmc0blk0p2 and will boot fine, you can use it with a keyboard and a screen or via a serial console. mmcblk0p2 used to store extensions like ssh and mc and backup file. Extensions can be stored on mmcblk0p1 if you whish.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."