Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

27.10.2006, 15:40

Terminologie bei GRUB

Ich habe 3 Platten im Rechner. Alle werden unter Linux benutzt.
Eine ist eine IDE Platte und zwei weitere sind SATA Platten

Es sieht wie folgt aus:

/dev/hda = (hd0)

/dev/sda= (hd1)
/dev/sdb= (hd2)

Unter knoppix und unter der LiveCD so erkannt

Auf der /dev/sdb ist das ganze Linuxsystem mit seinen Partitionen installiert.
Die IDE Platte wollte ich nicht mehr als root und boot Platte nehmen weil sie älter ist.

sdb1 = /boot
sdb2 = /

Somit müsste doch dann die Terminologie doch so aussehen:

root (hd2,1)
kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/sdb2

Will das gerne von euch prüfen lassen ob ihr einen Fehler in der terminologie findet.
Weil gestern nach dem booten bei der Auswahl stehenblieb.

lg
hardliner

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Hardliner« (27.10.2006, 15:41)


2

27.10.2006, 19:48

root 0 = /dev/h(s)da
root 1 = /dev/h(s)db

root (hd0,0) = /dev/h(s)da1
root (hd0,1) =/Dev/h(s)da2
root (hd1,0) =/dev/h(s)db1
root (hd1,1) =/dev/h(s)db2

also:
sdb1 = /boot d.h. root (hd1,0)
The most wonderful thing in the world is silence. And how noisy thoughts are!
Nanavira Thera

3

27.10.2006, 21:25

Danke vielmals,

habs jetzt auch hinbekommen. Wenn also auf dem Secondary IDE Port nichts dranhängt wird er auch nur übersprungen und geht dann auf die SATA Ports und zählt dort durch.

Das war wieder fürs verständnis.

lg

Hardliner

4

10.12.2006, 12:05

Moin!

Jetzt muss ich mal diesen Thread wieder hochholen.

Ich habe Gentoo auf der primären Master und Win**** auf der pimären Slave installiert.

Leider startet Grub Win**** nicht.

Hat jemand eine Idee?

Grüsse Hoppel


grub.conf:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
timeout 10

# By default, boot the first entry.
default 0

# For booting GNU/Linux
title  chaos
root (hd0,0)
kernel /boot/kernel_17_r8 root=/dev/hda3


title Win XP
rootnoverify (hd1,0)
makeactive
chainloader  +1


und fdisk:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         128     1028128+  83  Linux
/dev/hda2             129         251      987997+  82  Linux swap / Solaris
/dev/hda3             252         981     5863725   83  Linux
/dev/hda4             982       19929   152199810    5  Extended
/dev/hda5             982        1772     6353676   83  Linux
/dev/hda6            1773       19929   145846071   83  Linux

Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        1217     9775521    7  HPFS/NTFS
/dev/hdb2            1218       19929   150304140    5  Extended
/dev/hdb5            1218        2434     9775521    c  W95 FAT32 (LBA)
/dev/hdb6            2435        5474    24418768+   c  W95 FAT32 (LBA)
/dev/hdb7            5475       19929   116109756   83  Linux

5

10.12.2006, 18:09

Zitat

Original von hoppel
grub.conf:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
timeout 10

# By default, boot the first entry.
default 0

# For booting GNU/Linux
title  chaos
root (hd0,0)
kernel /boot/kernel_17_r8 root=/dev/hda3


title Win XP
rootnoverify (hd1,0)
makeactive
chainloader  +1



ändere mal title Win XP in title=Win XP um....
Intel Pentium 3,6GHz
1,00GB DDR Ram
GeForce FG 6800LE
Asus P5P800 Mainboard

_______________________


Mein Bäckerforum: http://www.baeckerforen.de
Mein OS Forum: http://www.free-your-os.com

6

11.12.2006, 11:26

jepp, gentoo.org gib aus:


Zitat

Code Listing 3: grub.conf for non-genkernel users
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.17-r5
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r5 root=/dev/hda3

title=Gentoo Linux 2.6.17-r5 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.17-gentoo-r5 root=/dev/hda3 init=/bin/bb

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1