Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

Mounting the boot partition!

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
miltoncsl
n00b
n00b
Posts: 6
Joined: Sun Sep 26, 2021 1:55 pm

Mounting the boot partition!

  • Quote

Post by miltoncsl » Tue Sep 28, 2021 7:10 pm

Hello,

I'm new to Gentoo and I'm trying to install it on a Mac Mini PowerPC G4 late 2005! I was following the installation wiki (https://wiki.gentoo.org/wiki/Handbook:PPC) but I encountered some difficulties!
First in section 5 [Creating file systems] when formatting the /dev/sda1 partition I get this message:

"Lived ~# mkfs.vfat -F 32 /dev/sda1

WARNING: Number of clusters is 32 bit FAT is less then suggested minimum.
mkfs.vfat: Too few blocks for viable filesystem"

Then, in the Chrooting section [1.5 - Mounting the boot partition] I get this message:

"mount /dev/sda1 /boot

mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error."

What should I do to resolve these issues and be able to install Gentoo on my Apple?
Last edited by miltoncsl on Tue Sep 28, 2021 7:29 pm, edited 1 time in total.
Top
eccerr0r
Watchman
Watchman
Posts: 10245
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Tue Sep 28, 2021 10:33 pm

You should use fat16 if your partition is small. Seems 32MB is the smallest FAT32 partition possible.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
miltoncsl
n00b
n00b
Posts: 6
Joined: Sun Sep 26, 2021 1:55 pm

  • Quote

Post by miltoncsl » Wed Sep 29, 2021 12:40 am

hello eccerr0r,

How do I do this if mac-fdisk doesn't allow me to delete partition 1 (/dev/sda1) in order to recreate it larger! When I try to do this I get the following message:

"Can't delete entry for the map itself"

It's not clear how I can create, format and mount partition 1 (/dev/sda1) for the yaboot installation!
Top
cboldt
Veteran
Veteran
User avatar
Posts: 1046
Joined: Wed Aug 24, 2005 2:54 pm

  • Quote

Post by cboldt » Wed Sep 29, 2021 1:09 am

You're changing filesystem type, a "mkfs" species of command.

See `man mkfs.msdos`

Generally this makes the data on the partition "lost," but a mkfs command doesn't touch the partition table

Edit to add, what happens when you do "mkfs.vfat -F 16 ..." rather than "-F 32"

As far as unable to mount, that's a function of the fstab line. You can try to mount manually. "mount -t vfat /dev/sda /boot" - assuming the mount point /boot exists. If the mount point does not exist, create it with "mkdir /boot"
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Wed Sep 29, 2021 1:33 am

Do not mount the /boot partition! If you created 4 partitions on the disk you do not have a /boot partition.

When you install yaboot it will write the proper contents to /dev/sda1. /dev/sda1 does not have a filesystem.

When you install yaboot in /dev/sda2 you may need to format the partition with an HFS file system but you do not have to mount the partition and there is no need to write anything to it except for when yaboot is installed.

You do not need a FAT filesystem.

Edit:
When you make the fstab do not make entries for /dev/sda1 and /dev/sda2. If you do the machine may not boot.
Top
Svante
n00b
n00b
Posts: 1
Joined: Mon Dec 06, 2021 2:03 pm

  • Quote

Post by Svante » Mon Dec 06, 2021 2:09 pm

I was reading this exact part of ppc handbook today and I also got lost there as its not written clearly enough. But what they're trying to say is that you don't use extra /boot partition on ppc G4. Entire system is on root partition, which is, according to default scheme used in the handbook, /dev/sda4.

In the future, always read the handbook carefully and more than once, especially if something is not clear to you and also if the handbook is mentioning multiple options for various types of hardware, as it's in this case.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy