All pastes #2093970 Raw Edit

Anonymous

public text v1 · immutable
#2093970 ·published 2011-11-12 12:08 UTC
rendered paste body
mint@mint ~ $ sudo fdisk -l 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
83 heads, 52 sectors/track, 226314 cylinders
Units = cylinders of 4316 * 512 = 2209792 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x132b132a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1      218154   470776306    7  HPFS/NTFS
/dev/sda2          218155      226314    17607735    f  W95 Ext'd (LBA)
/dev/sda5          218155      225344    15512576   83  Linux
/dev/sda6          225344      226314     2094080   82  Linux swap / Solaris

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 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: 0x3ca63ca5

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       14593   117218241    7  HPFS/NTFS

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 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: 0xe8900690

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      121601   976760001    c  W95 FAT32 (LBA)
mint@mint ~ $ sudo mount -v /dev/sda5 /mnt
mount: you didn't specify a filesystem type for /dev/sda5
       I will try type ext4
/dev/sda5 on /mnt type ext4 (rw)
mint@mint ~ $ sudo mount -v --bind /dev /mnt/dev
/dev on /mnt/dev type none (rw,bind)
mint@mint ~ $ sudo mount -v --bind /proc /mnt/proc
/proc on /mnt/proc type none (rw,bind)
mint@mint ~ $ sudo mount -v --bind /sys /mnt/sys
/sys on /mnt/sys type none (rw,bind)
mint@mint ~ $ sudo chroot /mnt
 _______________________________
/ The surest protection against \
| temptation is cowardice.      |
|                               |
\ -- Mark Twain                 /
 -------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

mint / # 
mint / # #we are installing grub to drive /dev/sda
mint / # grub-install /dev/sda (try grub-install --recheck /dev/sda if it fails)bash: syntax error near unexpected token `('
mint / # 
mint / # Ctrl+D (to exit out of chroot)
bash: syntax error near unexpected token `to'
mint / # 
mint / # sudo umount /mnt/dev
sudo: unable to resolve host mint
umount: /mnt/dev: not found
mint / # sudo umount /mnt
sudo: unable to resolve host mint
umount: /mnt: not mounted
mint / #