Hallo,
will ein Dualboot System auf meinem Alienware Laptop mit Fakeraid (Raid0) an Fasttrack Promise Controler konfigurieren. Bin Linux/Ubuntu-Neuling und habe daher noch ein paar grundsätzliche Verstaendniss-Probleme, wie ihr in meinen folgenden Ausfuerungen warscheinlich bemerken werdet.
Ich habe mit dem Wiki-Tutorial //wiki.ubuntuusers.de/Baustelle/Fakeraid: gearbeitet und beziehe mich im folgenden fast ausschließlich darauf.
Ich habe mit der LiveCD gestartet und dmraid installiert. Mit cfdisk und mkfs wie folgt partitioniert:
root@ubuntu:~# fdisk -l /dev/mapper/pdc_gfjjgafe Disk /dev/mapper/pdc_gfjjgafe: 200.0 GB, 200060174336 bytes 255 heads, 63 sectors/track, 24322 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x51245123 Device Boot Start End Blocks Id System /dev/mapper/pdc_gfjjgafe1 1 18236 146480638+ 7 HPFS/NTFS /dev/mapper/pdc_gfjjgafe2 * 18237 20060 14651280 83 Linux /dev/mapper/pdc_gfjjgafe3 20061 20303 1951897+ 82 Linux swap / Solaris /dev/mapper/pdc_gfjjgafe4 20304 24322 32282617+ 5 Extended /dev/mapper/pdc_gfjjgafe5 20304 24322 32282586 83 Linux
Neugestartet und auf “/dev/mapper/pdc_gfjjgafe1” WindowsXP installiert. Dann wieder mit LiveCd gebootet und Ubuntu -wie im Tutorial beschrieben- mit Hilfe des Desktop-Installers installiert. Dazu meine 3 relevanten Partitionen ausgewählt:
/dev/mapper/pdc_gfjjgafe2 – als “/boot” Volume (> 15GB fuer die Boot-Partition? <) /dev/mapper/pdc_gfjjgafe3 – als SWAP /dev/mapper/pdc_gfjjgafe5 – als “/”
Dann weiter im Tutorial zu “Installation von GRUB”:
“Natürlich muss die frische Installation erstmal gemountet werden (Wenn mehrere Partitionen erstellt wurden, für die folgenden gleich verfahren)”
Eine Verständniss-Frage vorneweg: heisst das, ich muss sowohl meine “/boot”-Partition, als auch meine “/root”-Partitionen bearbeiten? Muss ich nicht auch zwangslaufig auch die “menu.lst” auf “/boot” bearbeiten?
Naja, da im folgenden Schritt beim Vergeben “wichtiger Systeminformationen” der Pfad “/dev” angesteuert wird, habe ich meine “/root”-Partitionen gemounted und die nächsten Kommandos ausgeführt. Nach dem Konfigurieren von GRUB soll ich die “Init RAM-Disk” vorbereiten.
“mkinitramfs -o /boot/initrd.img-<version> <version>
<version>-Beispiel: "2.6.20-15-generic" (uname -r)”
Hier gibt es eine Frage: Um welche Versionsnummer handelt es sich denn hier/wie finde ich die heraus? Aus Nervoesitaet habe ich diesen Schritt übersprungen und das System neu gestartet – diesmal ohne LiveCD. GRUB startet auch und der Ubuntu Startbalken kommt, faehrt nach links und rechts, aber sonst passiert nichts. In ein Auswahlmenu in dem ich Windows anwaehlen koennte, bin ich auch nicht gekommen. Nach einiger Zeit bricht der Ubuntu Startbildschirm ab und ich komme in die “BusyBox”, die anscheinend irgendetwas mit der Init Ramdisk zu tun hat. Erkennt der Bootloader meine Raid-Konfiguration nicht? Bzw. Muss ich dmraid irgendwie in die Ramdisk stecken, dass das Raid0 erkannt wird? Muss ich sowohl auf der “/boot”, als auch auf der “/root”-Partition Aenderungen vornehmen?
Hier noch meine “menu.lst” von der “/root”-Partition (/boot/grub/menu.lst). Bitte helft mir, ich glaub, ich bin kurz vorm Ziel.
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not use 'savedefault' or your # array will desync and will not let you boot your system. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 3 ## hiddenmenu # Hides the menu by default (press ESC to see the menu) hiddenmenu # Pretty colours #color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=/dev/mapper/pdc_gfjjgafe5 ro ## Setup crashdump menu entries ## e.g. crashdump=1 # crashdump=0 ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet splash ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(recovery) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## ### END DEBIAN AUTOMAGIC KERNELS LIST
Tut mir Leid, wenn ich vielleicht etwas bloed anstelle, oder zu wenig Informationen bereitstelle, schreibt bitte wenn ihr noch irgendwas wissen muesst.
Meine Fragen, nochmal zusammengefasst:
-Wie bereite ich die Ramdisk zum erkennen meines "Fakeraids" vor?
-Wie editiere ich meine "menu.lst", dass sowohl Windows, als auch Ubuntu ausgewaehlt und gestartet werden koennen?
-Welche Aenderungen muss ich auf der "/boot", welche Aenderungen auf der "/root"-Partition ausführen?
Vielen Dank im Voraus und Gruss