View previous topic :: View next topic |
Author |
Message |
miltoncsl n00b
Joined: 26 Sep 2021 Posts: 6
|
Posted: Sun Sep 26, 2021 1:59 pm Post subject: Mounting the boot partition! |
|
|
Hello,
I'm trying to install gentoo on a Mac Mini powerpc g4. I tried to follow the instructions on the project's installation wiki (https://wiki.gentoo.org/wiki/Handbook:PPC)! However, when I go to mount the boot partition [Mounting the boot partition] (/dev/sda1) I get this error message (or at least that's what I think):
mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
What do I need to do to fix this error? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sun Sep 26, 2021 2:13 pm Post subject: |
|
|
Have you created a filesystem on /dev/sda1? Which one?
What does
return?
It should be something like:
Code: | /dev/sda1: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "mkfs.fat", Media descriptor 0xf8, sectors/track 32, heads 64, hidden sectors 2048, sectors 409600 (volumes > 32 MB), FAT (32 bit), sectors/FAT 3151, reserved 0x1, serial number 0xXXXXX, unlabeled |
or
Code: | /dev/sda1: Linux rev 1.0 ext4 filesystem data, UUID=XXXX (needs journal recovery) (extents) (64bit) (large files) (huge files) |
|
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 437
|
Posted: Sun Sep 26, 2021 4:02 pm Post subject: Re: Mounting the boot partition! |
|
|
miltoncsl wrote: | Hello,
I'm trying to install gentoo on a Mac Mini powerpc g4. I tried to follow the instructions on the project's installation wiki (https://wiki.gentoo.org/wiki/Handbook:PPC)! However, when I go to mount the boot partition [Mounting the boot partition] (/dev/sda1) I get this error message (or at least that's what I think):
mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
What do I need to do to fix this error? |
Looking at your linked handbook, is your Mac Mini a New World or Old World mac? I would determine that and then use the suggested partition structure for the appropriate one. |
|
Back to top |
|
|
miltoncsl n00b
Joined: 26 Sep 2021 Posts: 6
|
Posted: Mon Sep 27, 2021 8:46 pm Post subject: Mounting the boot partition! |
|
|
hello,
I repeated the steps and check that when formatting the partition this message is displayed:
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
Does this have to do with what is happening further on in the installation manual when mounting the /dev/sda1 partition?
PS.: Mac Mini G4 is a NewWorld machine! |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Mon Sep 27, 2021 10:37 pm Post subject: |
|
|
I interpret that message to mean that /dev/sda1 is too small to create a FAT filesystem with the requested properties. How big are each of the partitions on the system? |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Mon Sep 27, 2021 11:04 pm Post subject: |
|
|
Look at the Apple New World section of the manual and the file system types that you should use. You need to modify the instructions in the rest of the manual to match the layout given in the Apple New World section. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 437
|
Posted: Mon Sep 27, 2021 11:57 pm Post subject: |
|
|
This is the example partition layout from the document you linked for the New World macs.
Code: | Partition Size Filesystem Description
/dev/sda1 32KiB None. Apple Partition Map (APM).
/dev/sda2 800KiB HFS Apple bootstrap.
/dev/sda3 512 MiB swap Linux swap (type 0x82).
/dev/sda4 Rest of the disk. ext4, reiserfs, xfs, etc. Linux root. |
There is no /dev/sda1 as a boot partition.
The only macs that I have put other operating systems on were Intel based hardware. I typically kept a small mac os on the drive along with whatever else is on the drive. |
|
Back to top |
|
|
miltoncsl n00b
Joined: 26 Sep 2021 Posts: 6
|
Posted: Tue Sep 28, 2021 12:49 am Post subject: |
|
|
Hu wrote: | I interpret that message to mean that /dev/sda1 is too small to create a FAT filesystem with the requested properties. How big are each of the partitions on the system? |
hello,
I formatted as the documentation section indicates! With the /dev/sda1 partition being only 32kb! If that size is not correct what should the size be then?
Partition Size Filesystem Description
/dev/sda1 32KiB None. Apple Partition Map (APM).
/dev/sda2 800KiB HFS Apple bootstrap.
/dev/sda3 512 MiB swap Linux swap (type 0x82).
/dev/sda4 Rest of the disk. ext4, reiserfs, xfs, etc. Linux root. |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Tue Sep 28, 2021 1:06 am Post subject: |
|
|
/dev/sda1 does not have a filesystem
/dev/sda2 has a HFS filesystem
/dev/sda3 is formatted as swap
/dev/sda4 has whatever you want to use. |
|
Back to top |
|
|
miltoncsl n00b
Joined: 26 Sep 2021 Posts: 6
|
Posted: Tue Sep 28, 2021 12:49 pm Post subject: Mounting the boot partition! |
|
|
hello,
So I shouldn't format the /dev/sda1 partition? Can I follow the manual without doing anything with this partition? |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Tue Sep 28, 2021 1:40 pm Post subject: |
|
|
There is a forum "gentoo on ppc" that can help with your installation problems. It's at the bottom of the list of forums.
You will need to change partition references since parts of the manual seem to be for a x86/amd64 system.
When you set up fstab do not create entries for /dev/sda1 and /dev/sda2. You do not have to do anything with those partitions until you install yaboot at the end of the installation.
I don't know what problems you will meet since I am not an Apple user. |
|
Back to top |
|
|
|