Zase mam problem-kvôli 3d na starej grafike ATI som nainstaloval na jednu particiu ubuntu 8.04(fungovala),ale mi nevyhovovalo viac veci v 8.04,tak som odstranil a vytvoril novu prazdnu particiu a uz nespusti sa mi grub.Na sdc8 mam funkcne ubuntu 10.04,a na sdc1 windows ktore chcem pouzivat.Vypis zo scriptu- 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 #8 for /mnt/boot/grub.
=> Windows is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/sdc and looks on the same drive in
partition #9 for /mnt/boot/grub.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sdc1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM /boot/grub/core.img
sdc2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sdc8: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 63 312,576,704 312,576,642 7 HPFS/NTFS
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 * 63 312,576,704 312,576,642 7 HPFS/NTFS
Drive: sdc ___________________ _____________________________________________________
Disk /dev/sdc: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders, total 156312576 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdc1 * 63 115,330,634 115,330,572 7 HPFS/NTFS
/dev/sdc2 115,330,635 156,296,384 40,965,750 f W95 Ext d (LBA)
Extended partition linking to another extended partition
/dev/sdc5 115,330,761 116,969,264 1,638,504 82 Linux swap / Solaris
/dev/sdc6 116,969,265 118,922,389 1,953,125 82 Linux swap / Solaris
/dev/sdc7 118,922,453 135,813,509 16,891,057 7 HPFS/NTFS
/dev/sdc8 135,813,573 156,296,384 20,482,812 83 Linux
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda: PTTYPE="dos"
/dev/sda1 348849A18849628A ntfs seagate barracuda 160g
/dev/sdb: PTTYPE="dos"
/dev/sdb1 124844544844392D ntfs maxtor 160g
/dev/sdc: PTTYPE="dos"
/dev/sdc1 18B0C8D4B0C8BA10 ntfs
/dev/sdc2: PTTYPE="dos"
/dev/sdc5 c9187240-f744-451a-8545-c3b736611419 swap
/dev/sdc6 a15a0962-8788-4527-bf95-71e1f4e61303 swap
/dev/sdc7 723db158-f79a-4170-b6d1-c30a036a9938 ext4 New Volume
/dev/sdc8 4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ext4
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sdc8 / ext4 (rw,errors=remount-ro)
/dev/sdb1 /media/maxtor_160g fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda1 /media/seagate_barracuda_160g fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sr0 /media/CDROM iso9660 (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500)
/dev/sdc8 /mnt ext4 (rw)
================================ sdc1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
=================== sdc1: Location of files loaded by Grub: ===================
??GB: boot/grub/core.img
=========================== sdc8/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
load_env
fi
set default="8"
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
}
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
set locale_dir=($root)/boot/grub/locale
set lang=sk
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.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro splash quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
echo 'Loading Linux 2.6.32-23-generic ...'
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro splash quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro splash quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd2,9)'
search --no-floppy --fs-uuid --set 4499a8a7-2856-48a4-bc1d-9b022b38d2a2
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdc1)" {
insmod ntfs
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 18b0c8d4b0c8ba10
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###
=============================== sdc8/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sdc6 :
UUID=4499a8a7-2856-48a4-bc1d-9b022b38d2a2 / ext4 errors=remount-ro 0 1
#Entry for /dev/sdb1 :
UUID=124844544844392D /media/maxtor_160g ntfs-3g defaults,locale=sk_SK.utf8 0 0
#Entry for /dev/sda1 :
UUID=348849A18849628A /media/seagate_barracuda_160g ntfs-3g defaults,locale=sk_SK.utf8 0 0
#Entry for /dev/sdc7 :
UUID=c9187240-f744-451a-8545-c3b736611419 none swap sw 0 0
=================== sdc8: Location of files loaded by Grub: ===================
76.1GB: boot/grub/core.img
72.3GB: boot/grub/grub.cfg
76.9GB: boot/initrd.img-2.6.32-21-generic
77.2GB: boot/initrd.img-2.6.32-22-generic
77.5GB: boot/initrd.img-2.6.32-23-generic
76.4GB: boot/vmlinuz-2.6.32-21-generic
76.5GB: boot/vmlinuz-2.6.32-22-generic
77.4GB: boot/vmlinuz-2.6.32-23-generic
77.5GB: initrd.img
77.2GB: initrd.img.old
77.4GB: vmlinuz
76.5GB: vmlinuz.oldpostup opravy-sudo mount /dev/sdc8 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sdc
sudo update-grub
A nefunguje.Poradte,aby som uplne neznicil instalaciu ubuntu a windows.