PDA

View Full Version : [ubuntu] Irregular booting problems Win7/Ubuntu 11.10



hywelg
February 20th, 2012, 01:48 PM
Hi, I have a dual win7/Ubuntu 11.10 system. After problems with a previous Ubuntu install, I opted to start afresh and "install Ubuntu alongside Windows" from a LIVE USB.

My problem is that booting is VERY irregular. I may be able to boot first time or I may not be able to boot either OS, or I have to try repeatedly several times before I can boot. If I try to boot Ubuntu it may hang on the "purple tint" screen before it should go black, then show the cursor, or it may hang for a while, then return me to GRUB. If I try to boot Windows it may give me "bootmgr missing or corrupt" but I may be fourth time lucky. It doesn't inspire confidence!

I'd be very grateful if someone can help.

My boot-info can be found below.

http://paste.ubuntu.com/849859/

Bucky Ball
February 20th, 2012, 01:54 PM
Can't help with your problem but could you please put code between [code] tags as it is MUCH easier to decipher. You will find them if you edit your post, click 'Go Advanced' and mark out the code, then click the '#' hash symbol top right of the edit window.

Welcome and thanks. ;)

hywelg
February 20th, 2012, 02:00 PM
Oh dear, not sure how to get this to format nicely.


Boot Info Script 0.60-git [2 Jan 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 for (,msdos5)/boot/grub on this drive. 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: /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd /boot/BCD /BOOT/BCD /Boot/BCD /grub/core.img 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: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________ ________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 11.10 Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda6: __________________________________________________ ________________________ File system: swap Boot sector type: - Boot sector info: ============================ Drive/Partition Info: ============================= Drive: sda __________________________________________________ ___________________ Disk /dev/sda: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS /dev/sda2 206,848 43,175,597 42,968,750 7 NTFS / exFAT / HPFS /dev/sda3 43,175,934 125,044,735 81,868,802 5 Extended /dev/sda5 43,175,936 117,489,663 74,313,728 83 Linux /dev/sda6 117,491,712 125,044,735 7,553,024 82 Linux swap / Solaris "blkid" output: __________________________________________________ ______________ Device UUID TYPE LABEL /dev/sda1 E442DEAD42DE83A8 ntfs System Reserved /dev/sda2 C04AE1D94AE1CBEA ntfs /dev/sda5 8da301e6-194f-49b1-9384-c9803be2bba4 ext4 /dev/sda6 4deee6ff-4271-4aef-af20-932a9a9d0ddd swap ================================ Mount points: ================================= Device Mount_Point Type Options /dev/sda5 / ext4 (rw,errors=remount-ro,commit=0) =================== sda1: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) ?? = ?? grub/core.img 1 =========================== sda5/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 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 video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 set locale_dir=($root)/boot/grub/locale set lang=en_AU insmod gettext fi terminal_output gfxterm 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 if background_color 44,0,30; then clear fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### 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 if [ "$linux_gfx_mode" != "text" ]; then load_video; fi menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 linux /boot/vmlinuz-3.0.0-12-generic root=UUID=8da301e6-194f-49b1-9384-c9803be2bba4 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-12-generic } menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 echo 'Loading Linux 3.0.0-12-generic ...' linux /boot/vmlinuz-3.0.0-12-generic root=UUID=8da301e6-194f-49b1-9384-c9803be2bba4 ro recovery nomodeset echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-12-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,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 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 { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root E442DEAD42DE83A8 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 ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### -------------------------------------------------------------------------------- =============================== sda5/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> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda5 during installation UUID=8da301e6-194f-49b1-9384-c9803be2bba4 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=4deee6ff-4271-4aef-af20-932a9a9d0ddd none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda5: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 49.361862183 = 53.001895936 boot/grub/core.img 1 49.361869812 = 53.001904128 boot/grub/grub.cfg 1 21.282993317 = 22.852440064 boot/initrd.img-3.0.0-12-generic 2 50.797504425 = 54.543405056 boot/vmlinuz-3.0.0-12-generic 1 21.282993317 = 22.852440064 initrd.img 2 50.797504425 = 54.543405056 vmlinuz 1 =============================== StdErr Messages: =============================== xz: (stdin): Compressed data is corrupt FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument ADDITIONAL INFORMATION : **************** log of boot-repair 2012-02-20__22h07 **************** boot-repair version : 3.16-0ppa5~oneiric boot-sav version : 3.17-0ppa9~oneiric glade2script version : 0.3.2.1-0ppa7~oneiric internet: connected /usr/share/boot-sav/gui-update.sh: line 232: hash: os-uninstaller: not found /usr/share/boot-sav/gui-update.sh: line 234: hash: cleanubiquitybefore: not found python-software-properties version : 0.81.13.3 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.n6bPVNvYeC --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 3C48D16124B50277AF10D27F32B18A1260D8DA0B gpg: requesting key 60D8DA0B from hkp server keyserver.ubuntu.com gpg: key 60D8DA0B: "Launchpad PPA for YannUbuntu" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Warning: no /etc/apt/sources.list Reading package lists... Building dependency tree...SET@_progressbar1.pulse() Reading state information... 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 40 not upgraded. Need to get 118 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ oneiric/main boot-repair all 3.16-0ppa5~oneiric [118 kB] Download complete and in download only mode apt-get purge -y --force-yes boot-repair apt-get purge -y --force-yes boot-sav-gui apt-get purge -y --force-yes boot-sav sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean-gui sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes boot-repair-common sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean-ubiquity-common sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get install -y --force-yes boot-repair sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory dpkg-preconfigure: unable to re-open stdin: sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory LIVESESSION is : no (Ubuntu 11.10 , oneiric , Ubuntu , x86_64 ) mount: warning: /mnt/boot-sav/sda1 seems to be mounted read-only. mount: warning: /mnt/boot-sav/sda2 seems to be mounted read-only. BYTES_BEFORE_PART[1] (sda) = 2048 sectors * 512 bytes = 1048576 bytes. OSPROBER: /dev/sda5:The OS now in use - Ubuntu 11.10 CurrentSession:linux /dev/sda1:Windows 7 (loader):Windows:chain BLKID: /dev/sda1: LABEL="System Reserved" UUID="E442DEAD42DE83A8" TYPE="ntfs" /dev/sda2: UUID="C04AE1D94AE1CBEA" TYPE="ntfs" /dev/sda5: UUID="8da301e6-194f-49b1-9384-c9803be2bba4" TYPE="ext4" /dev/sda6: UUID="4deee6ff-4271-4aef-af20-932a9a9d0ddd" TYPE="swap" 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS. mkdir: cannot create directory `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52': Read-only file system Total of 2 OS detected on sda disk. sh: getcwd() failed: No such file or directory sudo: cannot get working directory TABLE_TYPE of sda is MSDos sda5 : sda, not-sepboot, grub-install, grub2 , update-grub, apt-get, 64, with boot, , with-os, no-gpt, notEFItable, fstab-without-efi. sda1 : sda, not-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda1, with-os, no-gpt, notEFItable, no-fstab. sda2 : sda, is-maybe-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda2, no-os, no-gpt, notEFItable, no-fstab. PARTED: Model: ATA Patriot Torqx 2 (scsi) Disk /dev/sda: 64.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 22.1GB 22.0GB primary ntfs 3 22.1GB 64.0GB 41.9GB extended 5 22.1GB 60.2GB 38.0GB logical ext4 6 60.2GB 64.0GB 3867MB logical linux-swap(v1) MOUNT: /dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=600) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/hywel/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=hywel) /dev/sda1 on /mnt/boot-sav/sda1 type ntfs (ro) /dev/sda2 on /mnt/boot-sav/sda2 type ntfs (ro) /sys/block/sda: alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent /dev: ati autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency disk ecryptfs fd freefall full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sg0 shm snapshot snd stderr stdin stdout uinput urandom usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 usbmon5 usbmon6 v4l vga_arbiter video0 zero /dev/mapper: control DF: Filesystem Type Size Used Avail Use% Mounted on /dev/sda5 ext4 35G 15G 19G 43% / udev devtmpfs 1.8G 12K 1.8G 1% /dev tmpfs tmpfs 713M 832K 712M 1% /run none tmpfs 5.0M 0 5.0M 0% /run/lock none tmpfs 1.8G 100K 1.8G 1% /run/shm /dev/sda1 ntfs 100M 59M 42M 59% /mnt/boot-sav/sda1 /dev/sda2 ntfs 21G 15G 6.0G 72% /mnt/boot-sav/sda2 FDISK: Disk /dev/sda: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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: 0x000cb8ae Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 43175597 21484375 7 HPFS/NTFS/exFAT /dev/sda3 43175934 125044735 40934401 5 Extended /dev/sda5 43175936 117489663 37156864 83 Linux /dev/sda6 117491712 125044735 3776512 82 Linux swap / Solaris mkdir: cannot create directory `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52': Read-only file system cp: target `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52' is not a directory ************************Before mainwindow FSCK_ACTION no PASTEBIN_ACTION yes recommendedrepair, reinstall, REINSTALL_POSSIBLE yes PURGE_POSSIBLE yes UNHIDEBOOT_ACTION yes (10s), noflag (sda1) PART_TO_REINSTALL_GRUB sda5, PART_TO_REINSTALL_GRUB_PURGE sda5, FORCE_GRUB no (sda) REMOVABLEDISK no USE_SEPARATEBOOTPART no (sda2) grub2 (sda5) UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no (acpi=off) MBR_TO_RESTORE sda (mbr) ( ) internet: connected ************************Actions FSCK_ACTION no PASTEBIN_ACTION yes bootinfo, nombraction, REINSTALL_POSSIBLE yes PURGE_POSSIBLE yes UNHIDEBOOT_ACTION no (10s), noflag (sda1) PART_TO_REINSTALL_GRUB sda5, PART_TO_REINSTALL_GRUB_PURGE sda5, FORCE_GRUB no (sda) REMOVABLEDISK no USE_SEPARATEBOOTPART no (sda2) grub2 (sda5) UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no (acpi=off) MBR_TO_RESTORE sda (mbr) (sda 2) internet: connected

Bucky Ball
February 20th, 2012, 02:03 PM
Okay, that didn't work. I can't give the tags to you in the same post, so at the beginning of your code you just posted put:

[code]

Bucky Ball
February 20th, 2012, 02:03 PM
... and at the end put:

[/code]

Don't post the code again, change the one already here. ;)

You will wind up with something looking like this, for example only:


sudo apt-get update

hywelg
February 20th, 2012, 02:09 PM
Let's try this..


Boot Info Script 0.60-git [2 Jan 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 for (,msdos5)/boot/grub on this drive. 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: /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd /boot/BCD /BOOT/BCD /Boot/BCD /grub/core.img 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: Extended Partition Boot sector type: - Boot sector info: sda5: __________________________________________________ ________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 11.10 Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda6: __________________________________________________ ________________________ File system: swap Boot sector type: - Boot sector info: ============================ Drive/Partition Info: ============================= Drive: sda __________________________________________________ ___________________ Disk /dev/sda: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS /dev/sda2 206,848 43,175,597 42,968,750 7 NTFS / exFAT / HPFS /dev/sda3 43,175,934 125,044,735 81,868,802 5 Extended /dev/sda5 43,175,936 117,489,663 74,313,728 83 Linux /dev/sda6 117,491,712 125,044,735 7,553,024 82 Linux swap / Solaris "blkid" output: __________________________________________________ ______________ Device UUID TYPE LABEL /dev/sda1 E442DEAD42DE83A8 ntfs System Reserved /dev/sda2 C04AE1D94AE1CBEA ntfs /dev/sda5 8da301e6-194f-49b1-9384-c9803be2bba4 ext4 /dev/sda6 4deee6ff-4271-4aef-af20-932a9a9d0ddd swap ================================ Mount points: ================================= Device Mount_Point Type Options /dev/sda5 / ext4 (rw,errors=remount-ro,commit=0) =================== sda1: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) ?? = ?? grub/core.img 1 =========================== sda5/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 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 video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 set locale_dir=($root)/boot/grub/locale set lang=en_AU insmod gettext fi terminal_output gfxterm 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 if background_color 44,0,30; then clear fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### 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 if [ "$linux_gfx_mode" != "text" ]; then load_video; fi menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 linux /boot/vmlinuz-3.0.0-12-generic root=UUID=8da301e6-194f-49b1-9384-c9803be2bba4 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-12-generic } menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 echo 'Loading Linux 3.0.0-12-generic ...' linux /boot/vmlinuz-3.0.0-12-generic root=UUID=8da301e6-194f-49b1-9384-c9803be2bba4 ro recovery nomodeset echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-12-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,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 linux16 /boot/memtest86+.bin } menuentry "Memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 8da301e6-194f-49b1-9384-c9803be2bba4 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 { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root E442DEAD42DE83A8 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 ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### -------------------------------------------------------------------------------- =============================== sda5/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> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda5 during installation UUID=8da301e6-194f-49b1-9384-c9803be2bba4 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=4deee6ff-4271-4aef-af20-932a9a9d0ddd none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda5: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 49.361862183 = 53.001895936 boot/grub/core.img 1 49.361869812 = 53.001904128 boot/grub/grub.cfg 1 21.282993317 = 22.852440064 boot/initrd.img-3.0.0-12-generic 2 50.797504425 = 54.543405056 boot/vmlinuz-3.0.0-12-generic 1 21.282993317 = 22.852440064 initrd.img 2 50.797504425 = 54.543405056 vmlinuz 1 =============================== StdErr Messages: =============================== xz: (stdin): Compressed data is corrupt FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument FIBMAP: Invalid argument ADDITIONAL INFORMATION : **************** log of boot-repair 2012-02-20__22h07 **************** boot-repair version : 3.16-0ppa5~oneiric boot-sav version : 3.17-0ppa9~oneiric glade2script version : 0.3.2.1-0ppa7~oneiric internet: connected /usr/share/boot-sav/gui-update.sh: line 232: hash: os-uninstaller: not found /usr/share/boot-sav/gui-update.sh: line 234: hash: cleanubiquitybefore: not found python-software-properties version : 0.81.13.3 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.n6bPVNvYeC --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 3C48D16124B50277AF10D27F32B18A1260D8DA0B gpg: requesting key 60D8DA0B from hkp server keyserver.ubuntu.com gpg: key 60D8DA0B: "Launchpad PPA for YannUbuntu" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Warning: no /etc/apt/sources.list Reading package lists... Building dependency tree...SET@_progressbar1.pulse() Reading state information... 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 40 not upgraded. Need to get 118 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/ oneiric/main boot-repair all 3.16-0ppa5~oneiric [118 kB] Download complete and in download only mode apt-get purge -y --force-yes boot-repair apt-get purge -y --force-yes boot-sav-gui apt-get purge -y --force-yes boot-sav sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean-gui sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes boot-repair-common sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get purge -y --force-yes clean-ubiquity-common sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory apt-get install -y --force-yes boot-repair sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory dpkg-preconfigure: unable to re-open stdin: sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory sh: getcwd() failed: No such file or directory LIVESESSION is : no (Ubuntu 11.10 , oneiric , Ubuntu , x86_64 ) mount: warning: /mnt/boot-sav/sda1 seems to be mounted read-only. mount: warning: /mnt/boot-sav/sda2 seems to be mounted read-only. BYTES_BEFORE_PART[1] (sda) = 2048 sectors * 512 bytes = 1048576 bytes. OSPROBER: /dev/sda5:The OS now in use - Ubuntu 11.10 CurrentSession:linux /dev/sda1:Windows 7 (loader):Windows:chain BLKID: /dev/sda1: LABEL="System Reserved" UUID="E442DEAD42DE83A8" TYPE="ntfs" /dev/sda2: UUID="C04AE1D94AE1CBEA" TYPE="ntfs" /dev/sda5: UUID="8da301e6-194f-49b1-9384-c9803be2bba4" TYPE="ext4" /dev/sda6: UUID="4deee6ff-4271-4aef-af20-932a9a9d0ddd" TYPE="swap" 1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS. mkdir: cannot create directory `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52': Read-only file system Total of 2 OS detected on sda disk. sh: getcwd() failed: No such file or directory sudo: cannot get working directory TABLE_TYPE of sda is MSDos sda5 : sda, not-sepboot, grub-install, grub2 , update-grub, apt-get, 64, with boot, , with-os, no-gpt, notEFItable, fstab-without-efi. sda1 : sda, not-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda1, with-os, no-gpt, notEFItable, no-fstab. sda2 : sda, is-maybe-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda2, no-os, no-gpt, notEFItable, no-fstab. PARTED: Model: ATA Patriot Torqx 2 (scsi) Disk /dev/sda: 64.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 22.1GB 22.0GB primary ntfs 3 22.1GB 64.0GB 41.9GB extended 5 22.1GB 60.2GB 38.0GB logical ext4 6 60.2GB 64.0GB 3867MB logical linux-swap(v1) MOUNT: /dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=600) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/hywel/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=hywel) /dev/sda1 on /mnt/boot-sav/sda1 type ntfs (ro) /dev/sda2 on /mnt/boot-sav/sda2 type ntfs (ro) /sys/block/sda: alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent /dev: ati autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency disk ecryptfs fd freefall full fuse hpet input kmsg log mapper mcelog mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sg0 shm snapshot snd stderr stdin stdout uinput urandom usbmon0 usbmon1 usbmon2 usbmon3 usbmon4 usbmon5 usbmon6 v4l vga_arbiter video0 zero /dev/mapper: control DF: Filesystem Type Size Used Avail Use% Mounted on /dev/sda5 ext4 35G 15G 19G 43% / udev devtmpfs 1.8G 12K 1.8G 1% /dev tmpfs tmpfs 713M 832K 712M 1% /run none tmpfs 5.0M 0 5.0M 0% /run/lock none tmpfs 1.8G 100K 1.8G 1% /run/shm /dev/sda1 ntfs 100M 59M 42M 59% /mnt/boot-sav/sda1 /dev/sda2 ntfs 21G 15G 6.0G 72% /mnt/boot-sav/sda2 FDISK: Disk /dev/sda: 64.0 GB, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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: 0x000cb8ae Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 43175597 21484375 7 HPFS/NTFS/exFAT /dev/sda3 43175934 125044735 40934401 5 Extended /dev/sda5 43175936 117489663 37156864 83 Linux /dev/sda6 117491712 125044735 3776512 82 Linux swap / Solaris mkdir: cannot create directory `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52': Read-only file system cp: target `/mnt/boot-sav/sda1/boot-sav/log/2012-02-20__22h07boot-repair52' is not a directory ************************Before mainwindow FSCK_ACTION no PASTEBIN_ACTION yes recommendedrepair, reinstall, REINSTALL_POSSIBLE yes PURGE_POSSIBLE yes UNHIDEBOOT_ACTION yes (10s), noflag (sda1) PART_TO_REINSTALL_GRUB sda5, PART_TO_REINSTALL_GRUB_PURGE sda5, FORCE_GRUB no (sda) REMOVABLEDISK no USE_SEPARATEBOOTPART no (sda2) grub2 (sda5) UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no (acpi=off) MBR_TO_RESTORE sda (mbr) ( ) internet: connected ************************Actions FSCK_ACTION no PASTEBIN_ACTION yes bootinfo, nombraction, REINSTALL_POSSIBLE yes PURGE_POSSIBLE yes UNHIDEBOOT_ACTION no (10s), noflag (sda1) PART_TO_REINSTALL_GRUB sda5, PART_TO_REINSTALL_GRUB_PURGE sda5, FORCE_GRUB no (sda) REMOVABLEDISK no USE_SEPARATEBOOTPART no (sda2) grub2 (sda5) UNCOMMENT_GFXMODE no ATA ADD_KERNEL_OPTION no (acpi=off) MBR_TO_RESTORE sda (mbr) (sda 2) internet: connected

hywelg
February 20th, 2012, 02:15 PM
Thanks for your help, BuckyBall, but I'm finding that if I select_all and copy from the paste_bin URL, then add the [code] tags I get the above result.

Bucky Ball
February 20th, 2012, 02:17 PM
Wow, that's really weird. It should all be visible but you seem to have created one line to its maximum length and the whole output is not there. Not sure how that was achieved.