Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
root@PartedMagic:~# fdisk -l Disk /dev/sda: 60.0 GB, 60011642880 bytes 255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00099471 Device Boot Start End Blocks Id System /dev/sda1 * 63 112454 56196 83 Linux /dev/sda2 112455 2168774 1028160 82 Linux swap / Solaris /dev/sda3 2168775 22667714 10249470 83 Linux /dev/sda4 22667776 117209087 47270656 5 Extended /dev/sda5 22667778 68816176 23074199+ 83 Linux /dev/sda6 68816896 115111935 23147520 83 Linux /dev/sda7 115113984 117209087 1047552 82 Linux swap / Solaris |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »fastro« (27.02.2011, 15:29)
.... allerdings bootet das system nicht, sondern gibt eine fehlermeldung wie folgt aus: could not find the root block device in...
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
root@PartedMagic:~# lspci 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04) 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04) 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04) 05:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) 05:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) 05:02.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01) 05:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10) 05:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01) 05:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01) 05:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01) 05:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01) root@PartedMagic:~# |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook # http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2 # If you are not using Genkernel and you need help creating this file, you # should consult the handbook. Alternatively, consult the grub.conf.sample that # is included with the Grub documentation. default 0 timeout 10 #splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux 2.6.36-gentoo-r5 root (hd0,0) kernel /boot/kernel-genkernel-2.6.36-gentoo-r5 root=/dev/sda3 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev initrd /boot/initramfs-genkernel-x86-2.6.36-gentoo-r5 # vim:ft=conf: |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
# /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/sda6 during installation UUID=c5f9bd72-8b53-4379-8662-68b5c02e014e / ext4 errors=remount-ro 0 1 # swap was on /dev/sda7 during installation UUID=63287bc0-8cf3-4665-b426-125dca3446aa none swap sw 0 0 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext4 defaults,noatime 1 2 /dev/sda3 / ext4 noatime 0 1 /dev/sda5 /home ext4 noatime 0 2 /dev/sda2 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). |
Quellcode |
|
1 2 3 4 5 6 7 |
default 0 timeout 10 title=Gentoo Linux 2.6.36-gentoo-r5 root (hd0,0) kernel /boot/kernel-genkernel-2.6.36-gentoo-r5 real_root=/dev/sda3 initrd /boot/initramfs-genkernel-x86-2.6.36-gentoo-r5 |
Zitat von »fastro«
Quellcode
1 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
Auch den Filesystem Treiber würde ich fest (build-in) in den Kernel bauen.Zitat von »fastro«
Quellcode
1 # CONFIG_EXT4_FS is not set
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »josef.95« (25.02.2011, 16:39)
hier aber kommt die fehlermeldung, daß dieser einhängepunkt nicht existiert.
Quellcode |
|
1 |
mkdir /mnt/gentoo |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
#!/bin/sh -e echo "Adding custom boot entry(s)" >&2 cat << EOF menuentry "Chainload gentoo" { insmod chain set root='(hd0,3)' chainloader +1 } EOF |
Quellcode |
|
1 2 3 4 5 6 |
menuentry "Gentoo" { set root='(hd0,0)' echo Loading Gentoo Kernel ... linux /boot/kernel-genkernel-2.6.36-gentoo-r5 real_root=/dev/sda3 echo Loading Gentoo initial ramdisk ... initrd /boot/initramfs-genkernel-x86-2.6.36-gentoo-r5 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hilti_hit« (25.02.2011, 21:20)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
#! /bin/sh -e echo "Adding Lucid Lynx entry" >&2 cat << EOF menuentry "Ubuntu, mit Linux 2.6.32-25-generic" { insmod ext2 set root='(hd0,1)' search --no-floppy --fs-uuid --set d3afdd1-045a-490f-b7ba-86c0c2d8c500 linux /boot/vmlinuz-2.6.32-25-generic root=UUID=d3afdd1-045a-490f-b7ba-86c0c2d8c500 ro quiet splash initrd /boot/initrd.img-2.6.32-25-generic } EOF |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »josef.95« (26.02.2011, 17:18)
Quellcode |
|
1 2 3 4 5 6 7 |
mysire / # grep EXT4 /usr/src/linux/.config CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y # CONFIG_EXT4_FS_POSIX_ACL is not set # CONFIG_EXT4_FS_SECURITY is not set # CONFIG_EXT4_DEBUG is not set mysire / # |