maanantaina, helmikuuta 14, 2011

Ubuntua työasemalle

Päivitin Ubuntun nyt myös työasemalleni.

Ei asentunut suoraan: asennusohjelma löysi sikä raid-levypakan, että lvm-taltition, mutta GRUB eikä GRUB2 saanut konettä käynnistymään.

Vedin lopulta Windows 7 -asennuksen sileäksi ja tein ensimmäiselle kovalevylle tilaa käyttöjärjestelmälle. Näin kone käynnistyy ongelmitta. Windows täytyy asentaa uudelleen jossain vaiheessa....

Tässä vielä bootscript-tuloste nykyisestä asennuksestani:
                Boot Info Script 0.55    dated February 15th, 2010                   

============================= Boot Info Summary: ==============================

 => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
    partition #1 for (,msdos1)/grub.
 => Grub  is installed in the MBR of /dev/sdb and looks at sector 251930 on
    boot drive #1 for the stage2 file, but no stage2 files can be found at
    this location.
 => No boot loader is installed in the MBR of /dev/sdc
 => Windows is installed in the MBR of /dev/sdd
 => Windows is installed in the MBR of /dev/sde

sda1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   /grub/grub.cfg /grub/core.img

sda2: _____

    File system:       vfat
    Boot sector type:  -
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:  

sdb2: _________________________________________________________________________

    File system:       linux_raid_member
    Boot sector type:  Unknown
    Boot sector info: 

sdb3: _________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

sdc1: _________________________________________________________________________

    File system:       linux_raid_member
    Boot sector type:  Unknown

    Boot sector info: 

sdc2: _________________________________________________________________________

    File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

sdd1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:  

sde1: _________________________________________________________________________

    File system:       linux_raid_member
    Boot sector type:  Unknown
    Boot sector info: 

sde2: _________________________________________________________________________
   File system:       LVM2_member
    Boot sector type:  -
    Boot sector info: 

vg_conroe-LogVol00: _________________________________________________________________________

    File system:      
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:
mount: tuntematon tiedostojärjestelmän tyyppi ””

md0: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 10.10
    Boot files/dirs:   /etc/fstab

=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________

Levy /dev/sda: 41.2 Gt, 41174138880 tavua
151 päätä, 8 sektoria/ura, 66571 sylinteriä, yhteensä 80418240 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *     79,929,344    80,416,767       487,424  83 Linux
/dev/sda2               2,048    79,929,343    79,927,296   b W95 FAT32


Drive: sdb ___________________ _____________________________________________________

Levy /dev/sdb: 1000.2 Gt, 1000204886016 tavua
255 päätä, 63 sektoria/ura, 121601 sylinteriä, yhteensä 1953525168 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition  Boot         Start           End          Size  Id System

/dev/sdb2             411,648 1,946,011,647 1,945,600,000  fd Linux raid autodetect
/dev/sdb3       1,946,011,648 1,953,523,711     7,512,064  8e Linux LVM


Drive: sdc ___________________ _____________________________________________________

Levy /dev/sdc: 1000.2 Gt, 1000204886016 tavua
255 päätä, 63 sektoria/ura, 121601 sylinteriä, yhteensä 1953525168 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sdc1    *          2,048 1,945,602,047 1,945,600,000  fd Linux raid autodetect
/dev/sdc2       1,945,602,048 1,953,523,711     7,921,664  8e Linux LVM


Drive: sdd ___________________ _________________________________________________

____

Levy /dev/sdd: 320.1 Gt, 320072933376 tavua
255 päätä, 63 sektoria/ura, 38913 sylinteriä, yhteensä 625142448 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sdd1               2,048   625,139,711   625,137,664   7 HPFS/NTFS


Drive: sde ___________________ _____________________________________________________

Levy /dev/sde: 1000.2 Gt, 1000204886016 tavua
255 päätä, 63 sektoria/ura, 121601 sylinteriä, yhteensä 1953525168 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sde1    *          2,048 1,945,602,047 1,945,600,000  fd Linux raid autodetect
/dev/sde2       1,945,602,048 1,953,523,711     7,921,664  8e Linux LVM


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                       

/dev/md0         a8d6a70a-f57c-4fdc-b1eb-062e665360b1   ext4       /                           
/dev/sda1        65e4be44-a1c0-4595-b3b7-54d1dd75b118   ext4       /boot                       
/dev/sda2        FC25-D4D6                              vfat                                   
/dev/sda: PTTYPE="dos"
/dev/sdb2        3362ee76-5887-112b-2b47-0c3addbcca94   linux_raid_member localhost.localdomain:0     
/dev/sdb3        gKA3d3-LkUp-SZps-kHFh-3Vp7-6uHw-069cWd LVM2_member                             
/dev/sdb: PTTYPE="dos"
/dev/sdc1        3362ee76-5887-112b-2b47-0c3addbcca94   linux_raid_member localhost.localdomain:0     
/dev/sdc2        d9spfg-EAJB-KFnn-cdZu-v6rt-rSFI-ZdlOYn LVM2_member                              
/dev/sdc: PTTYPE="dos"
/dev/sdd1        2CF8229BF82262F6                       ntfs       My Documents                 
/dev/sdd: PTTYPE="dos"
/dev/sde1        3362ee76-5887-112b-2b47-0c3addbcca94   linux_raid_member localhost.localdomain:0      
/dev/sde2        j7MZnm-Usbm-AEkf-sS1Y-8OVQ-f1G7-TPosHf LVM2_member                              
/dev/sde: PTTYPE="dos"
error: /dev/sdf: No medium found
error: /dev/sdg: No medium found
error: /dev/sdh: No medium found
error: /dev/sdi: No medium found

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
vg_conroe-LogVol00

============================ "mount | grep ^/dev  output: ======================
Device           Mount_Point              Type       Options

/dev/md0         /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sda1        /boot                    ext4       (rw,commit=0)


============================= sda1/grub/grub.cfg: =============================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
}

insmod raid
insmod raid5rec
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(md/0)'
search --no-floppy --fs-uuid --set a8d6a70a-f57c-4fdc-b1eb-062e665360b1
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
set locale_dir=($root)/grub/locale
set lang=fi
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-25-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
       linux   /vmlinuz-2.6.35-25-generic-pae root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro   quiet splash
        initrd  /initrd.img-2.6.35-25-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        echo    'Loading Linux 2.6.35-25-generic-pae ...'
        linux   /vmlinuz-2.6.35-25-generic-pae root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro single
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-2.6.35-25-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        linux   /vmlinuz-2.6.35-25-generic root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro   quiet splash
        initrd  /initrd.img-2.6.35-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        echo    'Loading Linux 2.6.35-25-generic ...'
        linux   /vmlinuz-2.6.35-25-generic root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro single
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-2.6.35-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        linux   /vmlinuz-2.6.35-22-generic root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro   quiet splash
        initrd  /initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        echo    'Loading Linux 2.6.35-22-generic ...'
        linux   /vmlinuz-2.6.35-22-generic root=UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 ro single
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set 65e4be44-a1c0-4595-b3b7-54d1dd75b118
        linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=================== sda1: Location of files loaded by Grub: ===================


  40.9GB: grub/core.img
  40.9GB: grub/grub.cfg
  40.9GB: initrd.img-2.6.35-22-generic
  40.9GB: initrd.img-2.6.35-25-generic
  40.9GB: initrd.img-2.6.35-25-generic-pae
  40.9GB: vmlinuz-2.6.35-22-generic
  40.9GB: vmlinuz-2.6.35-25-generic
  40.9GB: vmlinuz-2.6.35-25-generic-pae

================================ md0/etc/fstab: ================================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#              
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/md0 during installation
UUID=a8d6a70a-f57c-4fdc-b1eb-062e665360b1 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=65e4be44-a1c0-4595-b3b7-54d1dd75b118 /boot           ext4    defaults        0       2
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
tmpfs                   /var/log                tmpfs   defaults        0 0
tmpfs                   /tmp                    tmpfs   defaults        0 0
tmpfs                   /var/tmp                tmpfs   defaults        0 0
sshfs#topiv@192.168.255.14:/home/topiv/   /home/topiv/palantir  fuse    users,rw,defaults 0 0


==================== md0: Location of files loaded by Grub: ====================


    .0GB: initrd.img
    .0GB: initrd.img.old
    .0GB: vmlinuz
    .0GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader  on sdb2

00000000  fc 4e 2b a9 01 00 00 00  01 00 00 00 00 00 00 00  |.N+.............|
00000010  33 62 ee 76 58 87 11 2b  2b 47 0c 3a dd bc ca 94  |3b.vX..++G.:....|
00000020  6c 6f 63 61 6c 68 6f 73  74 2e 6c 6f 63 61 6c 64  |localhost.locald|
00000030  6f 6d 61 69 6e 3a 30 00  00 00 00 00 00 00 00 00  |omain:0.........|
00000040  8b df 7b 4c 00 00 00 00  05 00 00 00 02 00 00 00  |..{L............|
00000050  00 74 f7 73 00 00 00 00  00 04 00 00 03 00 00 00  |.t.s............|
00000060  08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 08 00 00 00 00 00 00  00 78 f7 73 00 00 00 00  |.........x.s....|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 00 00 00 00 00  4b c9 6d 5e 1c 84 6c 6e  |........K.m^..ln|
000000b0  59 ca cb b1 b2 1f b1 1e  00 00 00 00 00 00 00 00  |Y...............|
000000c0  2e 4d 59 4d 00 00 00 00  ff 9a 01 00 00 00 00 00  |.MYM............|
000000d0  00 00 00 00 00 00 00 00  de 44 60 4b 80 01 00 00  |.........D`K....|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100  00 00 01 00 fe ff 02 00  ff ff ff ff ff ff ff ff  |................|
00000110  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000200
Unknown BootLoader  on sdc1

00000000  fc 4e 2b a9 01 00 00 00  01 00 00 00 00 00 00 00  |.N+.............|
00000010  33 62 ee 76 58 87 11 2b  2b 47 0c 3a dd bc ca 94  |3b.vX..++G.:....|
00000020  6c 6f 63 61 6c 68 6f 73  74 2e 6c 6f 63 61 6c 64  |localhost.locald|
00000030  6f 6d 61 69 6e 3a 30 00  00 00 00 00 00 00 00 00  |omain:0.........|
00000040  8b df 7b 4c 00 00 00 00  05 00 00 00 02 00 00 00  |..{L............|
00000050  00 74 f7 73 00 00 00 00  00 04 00 00 03 00 00 00  |.t.s............|
00000060  08 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 08 00 00 00 00 00 00  00 78 f7 73 00 00 00 00  |.........x.s....|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000a0  01 00 00 00 00 00 00 00  de 1a 1f cc e1 9d 46 23  |..............F#|
000000b0  57 4f 16 56 fd a3 f3 1d  00 00 00 00 00 00 00 00  |WO.V............|
000000c0  2e 4d 59 4d 00 00 00 00  ff 9a 01 00 00 00 00 00  |.MYM............|
000000d0  00 00 00 00 00 00 00 00  80 b9 78 11 80 01 00 00  |..........x.....|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100  00 00 01 00 fe ff 02 00  ff ff ff ff ff ff ff ff  |................|
00000110  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00000200
=======Devices which don't seem to have a corresponding hard drive==============

sdf sdg sdh sdi 

Ei kommentteja:

Lähetä kommentti

Voit jättää kirjoitukseen liittyvän kommentin.