Quote:
Originally Posted by yancek
Your Ubuntu partition is on sda5 per your fdisk output so the commands I suggested should have worked. sda5 is (hd0,4) to Grub. Did you have any other drives attached during the install?
Couple things to try. First, to see how Grub sees your partitions open a terminal and type: sudo grub (this should get the grub prompt: grub>)
at the grub prompt type: geometry (hd0)
After doing that and posting here, get out of Grub (quit) and do 'sudo blkid' and post output.
Probably. Note your fdisk output. sda1 ends at 192 and sda2 starts at 192 when it should start at 193. Don't know why this happens or if it can be resolved short of re-partitiion/re-install. Perhaps someone else will explain it.
|
grub> geometry (hd0)
drive 0x80: C/H/S = 48641/255/63, The number of sectors = 781422768, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0x27
Partition num: 1, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
sudo blkid
/dev/sda1: UUID="8
=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda2: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:
sda4: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 8.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab
sda6: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xefb069ce
Partition Boot Start End Size Id System
/dev/sda1 2,048 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 * 3,074,048 330,754,039 327,679,992 7 HPFS/NTFS
/dev/sda3 394,242,048 781,420,543 387,178,496 7 HPFS/NTFS
/dev/sda4 330,762,285 394,235,099 63,472,815 5 Extended
/dev/sda5 330,762,348 389,351,339 58,588,992 83 Linux
/dev/sda6 389,351,403 394,235,099 4,883,697 82 Linux swap / Solaris
blkid -c /dev/null: ____________________________________________________________
/dev/sda1: UUID="803003E63003E250" LABEL="WinRE" TYPE="ntfs"
/dev/sda2: UUID="222405FE2405D627" LABEL="Vista" TYPE="ntfs"
/dev/sda3: UUID="4E9008209008115F" LABEL="Data" TYPE="ntfs"
/dev/sda5: UUID="49aa06a2-8d24-41b5-84ac-eeff328574d2" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="fa253903-2240-48d8-9dc2-8f1d9c95fa4e"
=============================== "mount" output: ===============================
/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sda2 on /media/Vista type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
03003E63003E250" LABEL="WinRE" TYPE="ntfs"
/dev/sda2: UUID="222405FE2405D627" LABEL="Vista" TYPE="ntfs"
/dev/sda3: UUID="4E9008209008115F" LABEL="Data" TYPE="ntfs"
/dev/sda5: UUID="49aa06a2-8d24-41b5-84ac-eeff328574d2" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="fa253903-2240-48d8-9dc2-8f1d9c95fa4e"
title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
makeactive
chainloader +1
=============================== sda5/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=fa253903-2240-48d8-9dc2-8f1d9c95fa4e none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda5: Location of files loaded by Grub: ===================
190.2GB: boot/grub/menu.lst
190.1GB: boot/grub/stage2
190.2GB: boot/initrd.img-2.6.27-11-generic
190.1GB: boot/initrd.img-2.6.27-7-generic
190.2GB: boot/vmlinuz-2.6.27-11-generic
190.2GB: boot/vmlinuz-2.6.27-7-generic
190.2GB: initrd.img
190.1GB: initrd.img.old
190.2GB: vmlinuz
190.2GB: vmlinuz.old
i posted also it,if it helps you to understand.I reinstall ubuntu 8.10.