Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Problem instalacie dual boot  (Přečteno 3871 krát)

danield

  • Návštěvník
  • Příspěvků: 12
Problem instalacie dual boot
« kdy: 18 Dubna 2014, 14:19:47 »
Zdravim vsetkych, potreboval by som poradit s instalaciou na dual boot s win7, kedze som si v booku menil klasicky hdd od WD
za SSD od samsungu stale pri konci instalacie mi vyhodi hlasku "instalacia havarovala". Uz si neviem rady kedze na povodnom HDD to slo v pohode.
SSD je v MBR
V biose to mam nastavene na AHCI.

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #1 kdy: 18 Dubna 2014, 14:24:44 »
kontrolní otázka, je tam dost místa?

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #2 kdy: 18 Dubna 2014, 14:28:33 »
Samozrejme. SSD ma 120 GB 
77GB je pre win7
priblizne 30 GB som spravil ext4 a 4GB swap

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #3 kdy: 18 Dubna 2014, 14:31:52 »
nabootuj liveCD a dej sem výpisy z terminálu (ctrl+alt+t) kopírování ctrl+shift+c
Kód: [Vybrat]
sudo fdisk -l (malé L)
sudo parted -l
lspci

geofre

Re:Problem instalacie dual boot
« Odpověď #4 kdy: 18 Dubna 2014, 14:42:29 »
nabootuj liveCD a dej sem výpisy z terminálu (ctrl+alt+t) kopírování ctrl+shift+c
Kód: [Vybrat]
sudo fdisk -l (malé L)
sudo parted -l
lspci

každý řádek je jeden příkaz  ;) to jen pro upřesnění  :)
Ubuntu Mate 14.04 LTS / W7 64-bit

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #5 kdy: 18 Dubna 2014, 14:46:55 »
já myslím že po stisknutí enteru by na to přišel

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #6 kdy: 18 Dubna 2014, 14:52:34 »
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

Kód: [Vybrat]
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 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: 0x0d0f026e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          12       96358+   7  HPFS/NTFS
/dev/sda2              13       14593   117121882+   7  HPFS/NTFS

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x00062864

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30250   242978238    7  HPFS/NTFS
/dev/sdb2   *       30250       30402     1217238+  17  Hidden HPFS/NTFS
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32,3kB  98,7MB  98,7MB  primary  ntfs         boot
 2      98,7MB  120GB   120GB   primary  ntfs


Model: ATA WDC WD2500BEVS-0 (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size    Type     File system  Flags
 1      9728B  249GB  249GB   primary  ntfs
 2      249GB  250GB  1246MB  primary  ntfs         boot, hidden


Error: /dev/sr0: unrecognised disk label                                 

ubuntu@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 0104 (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Device 1c49 (rev 05)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
02:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
ubuntu@ubuntu:~$

Edit GdH: Používej na výpisy tagy code (označit text, kliknout na ikonu #)

« Poslední změna: 18 Dubna 2014, 14:57:30 od GdH »

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #7 kdy: 18 Dubna 2014, 14:58:24 »
ty oddíly pro ubuntu nevidím
v live spusť GParted a udělej je tam a pak spusť instalaci dej něco jiné a nastav to ručně na tyto oddíly a nezapomeň nastavit zavaděč na SSD

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #8 kdy: 18 Dubna 2014, 15:06:42 »
Tie oddiely som po nezdarenej instalacii odstranil cez Gpartet, praveze mam ten pocit ze to skonci ked to instaluje grub.
Fajn skusim naistalovat a hodim tie vypisi z konzoly opat.

Tak zatial dakujem.

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #9 kdy: 18 Dubna 2014, 17:02:09 »
Tak som nainstaloval ubuntu 14.04 64bit, po restarte sa mi zobrazila tmava obrazovka.

Kód: [Vybrat]
it@it:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0d0f026e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      192779       96358+   7  HPFS/NTFS/exFAT
/dev/sda2          198656   162297855    81049600    7  HPFS/NTFS/exFAT
/dev/sda3       162297856   170954751     4328448   82  Linux swap / Solaris
/dev/sda4       170954752   234441080    31743164+  83  Linux

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00062864

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              19   485956494   242978238    7  HPFS/NTFS/exFAT
/dev/sdb2   *   485958595   488393071     1217238+  17  Hidden HPFS/NTFS

Disk /dev/sdc: 7888 MB, 7888437248 bytes
256 heads, 63 sectors/track, 955 cylinders, total 15407104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00096998

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048    15407103     7702528    b  W95 FAT32
it@it:~$ sudo parted -l
Model: ATA Samsung SSD 840 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system     Flags
 1      32,3kB  98,7MB  98,7MB  primary  ntfs            boot
 2      102MB   83,1GB  83,0GB  primary  ntfs
 3      83,1GB  87,5GB  4432MB  primary  linux-swap(v1)
 4      87,5GB  120GB   32,5GB  primary  ext4


Model: ATA WDC WD2500BEVS-0 (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size    Type     File system  Flags
 1      9728B  249GB  249GB   primary  ntfs
 2      249GB  250GB  1246MB  primary  ntfs         boot, hidden


Model: Generic STORAGE DEVICE (scsi)
Disk /dev/sdc: 7888MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  7888MB  7887MB  primary  fat32        boot


it@it:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
it@it:~$
« Poslední změna: 18 Dubna 2014, 18:14:35 od danield »

Traste

  • Návštěvník
  • Příspěvků: 42
Re:Problem instalacie dual boot
« Odpověď #10 kdy: 18 Dubna 2014, 17:05:21 »
Zdar chlapi,

chtěl bych se zeptat na aktualizaci Ubuntu na 14.04. Při všech možných příkazech (autoremove, update, upgrade, dist-upgrade) a zádání sudo update-manager mi to crashne a řádka hlásí toto:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py", line 305, in run
    raise ex
OSError: Can not execute '/tmp/ubuntu-release-upgrader-xczyuc/trusty'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 152, in <module>
    fetcher.run()
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py", line 310, in run
    _("This usually is caused by a system where /tmp "
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py", line 50, in error
    return error(self.window_main.window_main, summary, message)
AttributeError: 'NoneType' object has no attribute 'window_main'

díky moc za pomoc

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #11 kdy: 18 Dubna 2014, 17:17:59 »
Tak som nainstaloval ubuntu 14.04 64bit, po restarte sa mi zobrazila tmava obrazovka.


zobrazil se grub? (fialová obrazovka)
nebo bliká na obrazovce podtržítko?



danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #12 kdy: 18 Dubna 2014, 17:21:48 »
Tak som nainstaloval ubuntu 14.04 64bit, po restarte sa mi zobrazila tmava obrazovka.


zobrazil se grub? (fialová obrazovka)
nebo bliká na obrazovce podtržítko?

Nie ako som pisal iba tmava obrazovka, ziaden grub,  neblika podtrzitko.
Skusit to Rescatux?
« Poslední změna: 18 Dubna 2014, 17:25:57 od danield »

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #13 kdy: 18 Dubna 2014, 17:27:59 »
rescatux nevím co je

skus toto http://ubuntuforums.org/showthread.php?t=1291280
a dej sem ten výstup

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #14 kdy: 18 Dubna 2014, 17:57:27 »
rescatux nevím co je

skus toto http://ubuntuforums.org/showthread.php?t=1291280
a dej sem ten výstup


Vystup

« Poslední změna: 18 Dubna 2014, 18:12:39 od danield »

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #15 kdy: 18 Dubna 2014, 17:58:12 »
myslel sem ten RESULT.TXT

Jakub Vaněk

  • Stálý člen
  • **
  • Příspěvků: 752
    • Web programátora a studenta Jakuba Vaňka
Re:Problem instalacie dual boot
« Odpověď #16 kdy: 18 Dubna 2014, 17:59:47 »
Kód: [Vybrat]
sudo ./bootinfoscript*Pak pošlete RESULT.TXT/RESULTS.TXT
Notebook: Lenovo Thinkpad X200, Xubuntu 16.04

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #17 kdy: 18 Dubna 2014, 18:03:07 »
myslel sem ten RESULT.TXT


prikazom
sudo bash ~/Desktop/bootinfoscript
v terminaly, a na ploche vytvorilo RESULTS.txt a to je to vyssie nakopirovane.

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #18 kdy: 18 Dubna 2014, 18:10:31 »
myslel sem ten RESULT.TXT


prikazom
sudo bash ~/Desktop/bootinfoscript
v terminaly, a na ploche vytvorilo RESULTS.txt a to je to vyssie nakopirovane.

Sorry toto RESULTS

Kód: [Vybrat]
                  Boot Info Script 0.61      [1 April 2012]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 112 for .
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 14.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.07 2013-07-25
    Boot sector info:  Syslinux looks at sector 65552 of /dev/sdc1 for its
                       second stage. SYSLINUX is installed in the /multiboot
                       directory. The integrity check of the ADV area failed.
                       No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63       192,779       192,717   7 NTFS / exFAT / HPFS
/dev/sda2             198,656   162,297,855   162,099,200   7 NTFS / exFAT / HPFS
/dev/sda3         162,297,856   170,954,751     8,656,896  82 Linux swap / Solaris
/dev/sda4         170,954,752   234,441,080    63,486,329  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                  19   485,956,494   485,956,476   7 NTFS / exFAT / HPFS
/dev/sdb2    *    485,958,595   488,393,071     2,434,477  17 Hidden NTFS / HPFS


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 7888 MB, 7888437248 bytes
256 heads, 63 sectors/track, 955 cylinders, total 15407104 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *          2,048    15,407,103    15,405,056   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        C294936F949364A7                       ntfs       Vyhradené systémom
/dev/sda2        48C2946FC294634C                       ntfs       
/dev/sda3        7f26c5e8-6c22-4383-9940-741d7d47c67e   swap       
/dev/sda4        0ff433b0-74a7-452e-8d94-57ff8e2143de   ext4       
/dev/sdb1        0EBB0F350EBB0F35                       ntfs       
/dev/sdb2        74FA0DA8FA0D67A6                       ntfs       Backupper
/dev/sdc1        862A-1CF9                              vfat       MULTIBOOT
/dev/sr0                                                iso9660    ISOIMAGE

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda2        /media/it/48C2946FC294634C fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda4        /media/it/0ff433b0-74a7-452e-8d94-57ff8e2143de ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdb1        /media/it/0EBB0F350EBB0F35 fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdc1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda4/boot/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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=sk_SK
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
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
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0ff433b0-74a7-452e-8d94-57ff8e2143de' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=0ff433b0-74a7-452e-8d94-57ff8e2143de ro  quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-0ff433b0-74a7-452e-8d94-57ff8e2143de' {
menuentry 'Ubuntu, s jadrom Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-0ff433b0-74a7-452e-8d94-57ff8e2143de' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
echo 'Načítava sa Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=0ff433b0-74a7-452e-8d94-57ff8e2143de ro  quiet splash $vt_handoff
echo 'Načítava sa počiatočný ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-0ff433b0-74a7-452e-8d94-57ff8e2143de' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
echo 'Načítava sa Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=0ff433b0-74a7-452e-8d94-57ff8e2143de ro recovery nomodeset
echo 'Načítava sa počiatočný ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-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,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  0ff433b0-74a7-452e-8d94-57ff8e2143de
else
  search --no-floppy --fs-uuid --set=root 0ff433b0-74a7-452e-8d94-57ff8e2143de
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-C294936F949364A7' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  C294936F949364A7
else
  search --no-floppy --fs-uuid --set=root C294936F949364A7
fi
parttool ${root} hidden-
chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-chain-74FA0DA8FA0D67A6' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2  74FA0DA8FA0D67A6
else
  search --no-floppy --fs-uuid --set=root 74FA0DA8FA0D67A6
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda4/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda4 during installation
UUID=0ff433b0-74a7-452e-8d94-57ff8e2143de /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda3 during installation
UUID=7f26c5e8-6c22-4383-9940-741d7d47c67e none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


========= Devices which don't seem to have a corresponding hard drive: =========

sdd

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-61yi09Hx/Tmp_Log: No such file or directory
/home/it/Desktop/bootinfoscript: line 1646: [: 2.73495e+09: integer expression expected
  No volume groups found

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #19 kdy: 18 Dubna 2014, 18:22:01 »
grub tam je ale nevidí systém
skusil bych http://wiki.ubuntu.cz/grub2 ale před tím zálohovat důležitá data z sda

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #20 kdy: 18 Dubna 2014, 18:29:13 »
grub tam je ale nevidí systém
skusil bych http://wiki.ubuntu.cz/grub2 ale před tím zálohovat důležitá data z sda

Ako som uz pisal pokial som mal ubuntu s win7 na HDD tak to bolo ok, ale na SSD mi to spravilo toto. Nebude to tym SSD?
Tak skusim to tvoje riesenie a dam vediet.

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #21 kdy: 18 Dubna 2014, 18:38:51 »
v příkladu je taky nějaký disk s ntfs takže taky asi dualboot
ono to pak uvidí jen ubuntu ve kterém uděláš update-grub a mělo by to vidět vše

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #22 kdy: 18 Dubna 2014, 18:42:07 »
v příkladu je taky nějaký disk s ntfs takže taky asi dualboot
ono to pak uvidí jen ubuntu ve kterém uděláš update-grub a mělo by to vidět vše

Mozes mi poradit co mam upravit?

Kód: [Vybrat]
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)

^G Získať pom^O Uložiť    ^R Načítaj sú^Y Predch. st^K Vystrihnúť^C PozKurzoru
^X Koniec    ^J Do bloku  ^W Kde je    ^V Nasl. strá^U UnCut Text^T Hláskovať

marun

  • Stálý člen
  • **
  • Příspěvků: 601
Re:Problem instalacie dual boot
« Odpověď #23 kdy: 18 Dubna 2014, 18:44:27 »
takže si úspěšně nabootoval?
nic
jen dej do terminálu
Kód: [Vybrat]
sudo update-grubpo restartu by to mělo být vše ok

danield

  • Návštěvník
  • Příspěvků: 12
Re:Problem instalacie dual boot
« Odpověď #24 kdy: 22 Dubna 2014, 22:25:22 »
Tak som to riesil aj na inych forach ako aj cez rozne videonavody z youtube, ale aj tak sa mi to nepodarilo rozbehat.
Jedine cista instalacia bola ok.
Chcel som to mat v dualboote kedze laptop napouzivam iba ja, tak som to vyriesil na teraz cez virtualpc.

Inak dakujem za pomoc.

 

Provoz zaštiťuje spolek OpenAlt.