bug-grub
[Top][All Lists]
Advanced

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

[no subject]


From: Леонард Кусков
Date: Thu, 23 Jun 2011 01:09:18 +0400

address@hidden:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x23a723a7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2464    19792048+   7  HPFS/NTFS
/dev/sda2            2465        4866    19289873+   f  W95 Ext'd (LBA)
/dev/sda5            2465        4078    12956618+   7  HPFS/NTFS
/dev/sda6            4078        4703     5022720   83  Linux
/dev/sda7            4703        4866     1308672   82  Linux swap / Solaris

Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x85c9534a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       14946   120053713+   7  HPFS/NTFS
address@hidden:~$ sudo mount /dev/sda6 /mnt
address@hidden:~$ sudo mount --bind /dev/ /mnt/dev
address@hidden:~$ sudo mount --bind /proc/ mnt/proc
mount: mount point mnt/proc does not exist
address@hidden:~$ sudo mount --bind /proc/ /mnt/proc
address@hidden:~$ sudo chroot /mnt
address@hidden:/# grub-install /dev/sda
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
address@hidden:/# grub-install --rechek/dev/sda
Unrecognized option `--rechek/dev/sda'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --modules=MODULES       pre-load specified modules MODULES
  --boot-directory=DIR    install GRUB images under the directory DIR/grub
                          instead of the /boot/grub directory
  --grub-setup=FILE       use FILE as grub-setup
  --grub-mkimage=FILE     use FILE as grub-mkimage
  --grub-mkrelpath=FILE   use FILE as grub-mkrelpath
  --grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
  --grub-probe=FILE       use FILE as grub-probe
  --no-floppy             do not probe any floppy drive
  --allow-floppy          Make the drive also bootable as floppy
                          (default for fdX devices). May break on some BIOSes.
  --recheck               probe a device map even if it already exists
  --force                 install even if problems are detected
  --disk-module=MODULE    disk module to use

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector.

Report bugs to <address@hidden>.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]