chrisfc
01.11.06, 17:31
Hallo, ich hab dummerweise versucht Windows zu installieren, was schonmal nicht klappte, egal - oder auch nicht.
Jedenfalls wurde mir direkt mal der Bootloader zerschossen, obwohl ich net mal zur INstallation vordringen konnte. (Fehler 17)
Nunja, waere ja nicht das Erste mal dass ich Grub gerettet habe, also Live CD gebooted, chrooted...aber nun:
/boot/grub/stage1 not read correctly
:)
root@ubuntu:~# ls -lan /mnt/ubuntu/boot/grub/stage*
-rw-r--r-- 1 0 0 512 2006-11-01 16:21 /mnt/ubuntu/boot/grub/stage1
-rw-r--r-- 1 0 0 105652 2006-11-01 16:21 /mnt/ubuntu/boot/grub/stage2
Fdisk:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 19457 156288321 83 Linux
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 7 71 522112+ 82 Linux swap / Solaris
/dev/hdb2 * 72 5170 40957717+ 83 Linux
/dev/hdb3 5171 14588 75650085 7 HPFS/NTFS
menu.lst:
title Ubuntu, kernel 2.6.17-10-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hdb2 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd1,1)
kernel /boot/memtest86+.bin
quiet
boot
device.map:
(hd0) /dev/hda
(hd1) /dev/hdb
mount:
root@ubuntu:~# mount
unionfs on / type unionfs (rw)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-23-386/volatile type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev on /mnt/hdb2/dev type none (rw,bind)
/dev/hdb2 on /mnt/ubuntu type ext3 (rw)
/dev on /mnt/ubuntu/dev type none (rw,bind)
none on /mnt/ubuntu/proc type proc (rw)
fstab:
proc /proc proc defaults 0 0
# /dev/hdb1
#UUID=989911cb-8468-4707-af28-43fd675e19ff
/dev/hdb2 / ext3 defaults,errors=remount-ro 0 0
# /dev/hda1
UUID=55a763cd-7dce-48c4-abc6-f89a5c799c89 /media/hda1 ext3 defaults 0 0
# /dev/hdb4
#UUID=E2CD-AD9C /media/hdb4 vfat defaults,utf8,umask=007,gid=46 0 0
/dev/hdb1 none swap sw 0 0
#UUID=313ff2d3-9557-4413-bdb4-9fb50aa0a3aa none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/ /media/floppy0 auto rw,user,noauto 0 0
root@ubuntu:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17-10-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hda
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hdb
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hdb2
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/dev/hdb2 /dev/hdb
mkdir: cannot create directory `/dev/hdb2/boot': Not a directory
root@ubuntu:/#
Die Alternativ Moeglichkeit funktioniert also auch nicht wirklich.
Never touch a running system und so. -,-
Naja, doofes Windows, spiel ich NFS halt mit Wine, da ich eh nur max 2mal/jahr spiele bevor ich mir den Kram da gebe.
Gruss
Jedenfalls wurde mir direkt mal der Bootloader zerschossen, obwohl ich net mal zur INstallation vordringen konnte. (Fehler 17)
Nunja, waere ja nicht das Erste mal dass ich Grub gerettet habe, also Live CD gebooted, chrooted...aber nun:
/boot/grub/stage1 not read correctly
:)
root@ubuntu:~# ls -lan /mnt/ubuntu/boot/grub/stage*
-rw-r--r-- 1 0 0 512 2006-11-01 16:21 /mnt/ubuntu/boot/grub/stage1
-rw-r--r-- 1 0 0 105652 2006-11-01 16:21 /mnt/ubuntu/boot/grub/stage2
Fdisk:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 19457 156288321 83 Linux
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 7 71 522112+ 82 Linux swap / Solaris
/dev/hdb2 * 72 5170 40957717+ 83 Linux
/dev/hdb3 5171 14588 75650085 7 HPFS/NTFS
menu.lst:
title Ubuntu, kernel 2.6.17-10-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hdb2 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (single-user mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd1,1)
kernel /boot/memtest86+.bin
quiet
boot
device.map:
(hd0) /dev/hda
(hd1) /dev/hdb
mount:
root@ubuntu:~# mount
unionfs on / type unionfs (rw)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-23-386/volatile type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev on /mnt/hdb2/dev type none (rw,bind)
/dev/hdb2 on /mnt/ubuntu type ext3 (rw)
/dev on /mnt/ubuntu/dev type none (rw,bind)
none on /mnt/ubuntu/proc type proc (rw)
fstab:
proc /proc proc defaults 0 0
# /dev/hdb1
#UUID=989911cb-8468-4707-af28-43fd675e19ff
/dev/hdb2 / ext3 defaults,errors=remount-ro 0 0
# /dev/hda1
UUID=55a763cd-7dce-48c4-abc6-f89a5c799c89 /media/hda1 ext3 defaults 0 0
# /dev/hdb4
#UUID=E2CD-AD9C /media/hdb4 vfat defaults,utf8,umask=007,gid=46 0 0
/dev/hdb1 none swap sw 0 0
#UUID=313ff2d3-9557-4413-bdb4-9fb50aa0a3aa none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/ /media/floppy0 auto rw,user,noauto 0 0
root@ubuntu:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17-10-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hda
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hdb
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/mnt/ubuntu /dev/hdb2
mkdir: cannot create directory `/mnt/ubuntu/boot': No such file or directory
root@ubuntu:/# grub-install --root-directory=/dev/hdb2 /dev/hdb
mkdir: cannot create directory `/dev/hdb2/boot': Not a directory
root@ubuntu:/#
Die Alternativ Moeglichkeit funktioniert also auch nicht wirklich.
Never touch a running system und so. -,-
Naja, doofes Windows, spiel ich NFS halt mit Wine, da ich eh nur max 2mal/jahr spiele bevor ich mir den Kram da gebe.
Gruss