Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting the boot partition!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
miltoncsl
n00b
n00b


Joined: 26 Sep 2021
Posts: 6

PostPosted: Tue Sep 28, 2021 7:10 pm    Post subject: Mounting the boot partition! Reply with quote

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
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9848
Location: almost Mile High in the USA

PostPosted: Tue Sep 28, 2021 10:33 pm    Post subject: Reply with quote

You should use fat16 if your partition is small. Seems 32MB is the smallest FAT32 partition possible.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
miltoncsl
n00b
n00b


Joined: 26 Sep 2021
Posts: 6

PostPosted: Wed Sep 29, 2021 12:40 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Wed Sep 29, 2021 1:09 am    Post subject: Reply with quote

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"
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1220
Location: Massachusetts USA

PostPosted: Wed Sep 29, 2021 1:33 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Svante
n00b
n00b


Joined: 06 Dec 2021
Posts: 1

PostPosted: Mon Dec 06, 2021 2:09 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
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