[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub menu.lst festplattennummer falsch



Hallo,

Am Samstag, 2. Februar 2008 10:14 schrieb Oliver Gräfe:
> Hallo,
>
> ich habe debian stable auf einem Rechner mit 2 SATA Platten installiert.
> Danach hatte ich Probleme mit grub, weil Grub nicht auf der 1. Platte lag
> (konnte nicht booten). Also habe ich die umgesteckt uns die menu.lst und
> die device.map angepasst. Danach funktionierte alles einwandfrei, nur wenn
> ich via aptitude ein Kernel Update mache, dann muss ich jedesmal die
> menu.lst anpassen, weil das script hd(2,0) anstatt hd(0,0) und /dev/sdb7
> anstatt /dev/sda7 schreibt. Das ist nicht so wild, nervt aber auf die
> Dauer. Weiss jemand, was ich machen muss, damit die richtigen Werte hier
> eingetragen werden?

ich hatte das Problem auch mal.

Du musst AFAIK hier ändern, da es sich nicht um Kommentare handelt:
(Auszug aus meiner menu.lst)

### 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/sda1 ro

Ändere Deine Zeile 

# kopt=<deine Werte>

und es wird gehen.

Gruß
Michael


Reply to: