What should I copy?
Mark Knecht
markknecht at gmail.com
Mon Sep 13 00:49:51 EST 2010
Hi,
I had trouble getting a new Gentoo install to boot on my Mac Mini
so for kicks I tried Ubuntu which did boot. I'd like to get back to
running Gentoo and I'm wondering what information I should retain from
my Ubuntu installation.
Do I need anything beyond yaboot.conf, the hard drive partitioning and fstab?
Thanks,
Mark
mark at MacMini:~$ cat /etc/yaboot.conf
## yaboot.conf generated by the Ubuntu installer
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ
boot=/dev/hda2
device=/pci at f4000000/ata-6 at d/disk at 0:
partition=3
root=/dev/hda3
timeout=50
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/initrd.img
append="quiet splash"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash"
mark at MacMini:~$
mark at MacMini:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/hda3 during installation
UUID=3d688258-e950-4dd7-87cb-48fa887bb493 / ext4
errors=remount-ro 0 1
# swap was on /dev/hda4 during installation
UUID=a56e05b7-6e4a-4239-83a2-df7e7115a9e8 none swap sw
0 0
/dev/sda1 /media/USB1/video ext2 rw 0 0
mark at MacMini:~$
mark at MacMini:~$ sudo mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
# type name length base
( size ) system
/dev/hda1 Apple_partition_map Apple 63 @ 1
( 31.5k) Partition map
/dev/hda2 Apple_Bootstrap untitled 2048 @ 2048
( 1.0M) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 untitled 39061504 @ 4096
( 18.6G) Linux native
/dev/hda4 Apple_UNIX_SVR2 swap 3905536 @
39065600 ( 1.9G) Linux swap
/dev/hda5 Apple_Free Extra 1984 @ 64
(992.0k) Free space
/dev/hda6 Apple_UNIX_SVR2 gentoo 41943040 @
42971136 ( 20.0G) Linux native
/dev/hda7 Apple_Free Extra 71387312 @
84914176 ( 34.0G) Free space
Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0
Command (? for help):
More information about the Yaboot-users
mailing list