Quellcode |
|
1 2 3 4 5 6 7 |
default 0 timeout 3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo root (hd0,0)/boot kernel (hd0,0)/boot/kernel root=/dev/sda1 video=vesafb:ywrap,mtrr vga=0x31A |
Quellcode |
|
1 2 3 4 5 6 7 |
default 0 timeout 3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo root (hd0,0)/boot kernel (hd0,0)/boot/kernel root=/dev/sda3 |
Quellcode |
|
1 2 3 4 |
IDE Primary Master [CD-…] IDE Primary Slave [none] IDE Sekundar Master [none] IDE Sekundar Slave [Maxtor-…] |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
Disk /dev/sda: 81.9 GB, 81964302336 bytes 16 heads, 63 sectors/track, 158816 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 * 1 98 49360+ 83 Linux /dev/sda2 99 3974 1953504 82 Linux swap / Solaris /dev/sda3 3975 23351 9766008 83 Linux /dev/sda4 23352 158816682743605 Extended /dev/sda5 23352 15881668274328+ 83 Linux |
Quellcode |
|
1 |
fdisk -l |
Ja, das werde ich morgen tun. Naja es ist nicht einfach der Rechner auseinander zuschrauben, deswegen habe ich mit der Konfiguration versucht. Anscheint muss ab und zu mal mit Hammer installieren .Dann solltest du die Platte als Master jumpern und an den ersten Port hängen...
mach doch mal im chroot modus ein
Quellcode
1 fdisk -l
dabei gillt dann
sda1 = hd0,0
sda2 = hd0,1
sda3 = hd0,2
sdb1 = hd1,0
sdb2 = hd1,1
sdc1 = hd2,0
sdc2 = hd2,1
Rest kann man sich selbst ergänzen
achtung wenn du eine platte an den Sekundär Slave hängs also auf die 4. die anderen 3 sind nicht belegt ist der Sekundär Slave obwohl es der 4. anschluss ist aber die erste platte -> sda1 -> und somit hd0,0
ps wenn du im kernel den falschen treiber aktiviert hast wird die platte als hda und nicht sda erkannt oder gar nicht, ist auch ne oft vorkommende Fehlerquelle
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# grub oder wenn kein floppy, dann # grub --no-floppy grub> root (hd (hier die TAB Taste nutzen) Possible disks are: hd0 hd1 hd2 grub> root (hd0, (TAB nutzen) Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 1, Filesystem type is ext2fs, partition type 0x83 Partition num: 2, Filesystem type is reiserfs, partition type 0x83 Partition num: 4, Filesystem type is fat, partition type 0xb Partition num: 5, Filesystem type unknown, partition type 0x82 Partition num: 6, Filesystem type is reiserfs, partition type 0x83 Partition num: 7, Filesystem type is ext2fs, partition type 0x83 Partition num: 8, Filesystem type is reiserfs, partition type 0x83 grub> root (hd0, |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#Deutsche Tastaturbelegung setkey y z setkey z y setkey Y Z setkey Z Y setkey equal parenright setkey parenright parenleft setkey parenleft asterisk setkey doublequote at setkey plus bracketright setkey minus slash setkey slash ampersand setkey ampersand percent setkey percent caret setkey underscore question setkey question underscore setkey semicolon less setkey less numbersign setkey numbersign backslash setkey colon greater setkey greater bar setkey asterisk braceright |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 1, Filesystem type unknown, partition type 0x82 Partition num: 2, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type unknown, partition type 0x83 grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 18 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded Done. grub> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# 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 3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 2.6.30-r6 root (hd0,0) kernel /boot/kernel-2.6.30-gentoo-r6 root=/dev/sda3 |
Quellcode |
|
1 2 3 4 5 6 7 |
total 3903 -rw-r--r-- 1 root root 757373 Sep 14 14:50 System.map lrwxrwxrwx 1 root root 1 Sep 14 12:45 boot -> . drwxr-xr-x 2 root root 1024 Sep 14 16:18 grub -rw-r--r-- 1 root root 1601664 Sep 14 14:50 kernel-2.6.30-gentoo-r6 drwx------ 2 root root 12288 Sep 14 12:17 lost+found -rw-r--r-- 1 root root 1601664 Sep 14 14:50 vmlinuz |
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 28 29 30 31 32 |
# /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 ext3 noauto,noatime 0 2 /dev/sda3 / ext3 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/sda5 /home ext3 noatime 0 2 /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). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 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 |
VFS: Canot open root device "sda3" or unknow-block(0,0) Please append a correct "root=" boot option; here are the vailable partions: 1640 80043264 hdd driver: ide-gd 1641 56196 hdd1 1642 2939895 hdd2 1643 73248367 hdd3 1644 1 hdd4 1645 705028 hdd5 0300 705028 hda drive: ide-cdrom Kernel panic - not syncing: VFS: unable to mount root fs on unknow-block (0,0) Pid: 1, comm: swapper not tainted 2.6.30-gentoo-r6 #1 Call Trace: [<c012302e>] panic+0x51/0x114 [<c03dbb3c>] mount_block_root+0xf3/0x261 [<c0180313>] ?sys_mkmod+0x27/0x29 [<c03dbd0d>] mount_root+0x63/0x86 [<c03dbd69>] prepare_namespace+0x39/0x190 [<c01759f5>] ? sys_access+0x20/0x22 [<c03db5f0>] kernel_init+0x15e/0x16d [<c03db492>] ? kernel_ini+0x0/0x16d [<c010370f>] kernel_thread_helper+0x7/0x18 |