root partition had1 auf hda7
Jürgen Leibner
juergen.leibner at t-online.de
Sun Nov 19 21:44:41 CET 2006
Am Sonntag, 19. November 2006 21:24 schrieb Thomas Laubrock:
> Hi,
>
> ich wollte meine /-Partition vergrößern.
> Habe also eine neue grössere Part hda7 angelegt und den kompletten
> Inhalt von hda1 nach hda7 kopiert.
>
> Um diese Partition zu booten habe ich dann einen weiteren Eintrag in
> /boot/grub/menu.lst gemacht:
>
>
> title Debian GNU/Linux, neu
> root (hd0,6)
> kernel /boot/vmlinuz-2.6.16-2-686-smp root=/dev/hda7 ro noapic
> initrd /boot/initrd.img-2.6.16-2-686-smp
> savedefault
> boot
>
>
> und in der /etc/fstab / auf hda7 umgebogen.
> Leider ist nach dem Booten / immer nach hda1 gemountet. Was mache ich
> falsch?
> Der Kernel wir von hda7 geladen, das habe ich schon getestet.
>
> hat jemand eine Idee?
ist die Partition mit dem bootflag versehen?
# fdisk /dev/hda
The number of cylinders for this disk is set to 1867.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hda: 15.3 GB, 15364339200 bytes
255 heads, 63 sectors/track, 1867 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 57 457821 83 Linux
/dev/hda2 58 1867 14538825 5 Extended
/dev/hda5 58 923 6956113+ 8e Linux LVM
/dev/hda6 924 1867 7582648+ 8e Linux LVM
Grüsse, Jürgen
>
> Gruß
> Thomas
More information about the Linux
mailing list