LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Grub Error: Dual Boot WinXP & Kubuntu 14.04 (https://www.linuxquestions.org/questions/ubuntu-63/grub-error-dual-boot-winxp-and-kubuntu-14-04-a-4175504833/)

starsage77 05-13-2014 09:52 AM

Grub Error: Dual Boot WinXP & Kubuntu 14.04
 
I'm running Windows XP off of my main partition and have installed Kubuntu 14.04 to a secondary. The installer for Trusty Tahr seems to crash every time I try to use it to set up my Swap and Linux ext4 partition.. so I've created those using Gparted and then everything goes smoothly.

That is until install supposedly finished. After I was prompted to restart then everything hung after it exited the X/KDE desktop and spit out my install disc. I waited 10 mins for my laptop to finish shutting down but it didn't. I powered it off and upon reboot I'm greeted with a 'grub rescue' prompt.

I've tried all of the usual routes.. but even my Boot-Repair disc doesn't seem to touch this issue. And nowadays the so-called Live Disc prevents you from installing grub from a terminal window. Below is my bootconfig... Please Help! Thanks

Paste2

* Create Paste
* Followup Paste
* QR

1.
Boot Info Script 0.61.full + Boot-Repair extra info [Boot-Info November 20th 2012]
2.
3.
4.
============================= Boot Info Summary: ===============================
5.
6.
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
7.
the same hard drive for core.img. core.img is at this location and looks
8.
in partition 112 for .
9.
10.
sda1: __________________________________________________________________________
11.
12.
File system: ntfs
13.
Boot sector type: Windows XP: NTFS
14.
Boot sector info: No errors found in the Boot Parameter Block.
15.
Operating System: Windows XP
16.
Boot files: /boot.ini /ntldr /NTDETECT.COM
17.
18.
sda2: __________________________________________________________________________
19.
20.
File system: swap
21.
Boot sector type: -
22.
Boot sector info:
23.
24.
sda3: __________________________________________________________________________
25.
26.
File system: ext4
27.
Boot sector type: -
28.
Boot sector info:
29.
Operating System: Ubuntu 14.04 LTS
30.
Boot files: /boot/grub/grub.cfg /etc/fstab
31.
/boot/grub/i386-pc/core.img
32.
33.
============================ Drive/Partition Info: =============================
34.
35.
Drive: sda _____________________________________________________________________
36.
37.
Disk /dev/sda: 250.1 GB, 250059350016 bytes
38.
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
39.
Units = sectors of 1 * 512 = 512 bytes
40.
Sector size (logical/physical): 512 bytes / 512 bytes
41.
42.
Partition Boot Start Sector End Sector # of Sectors Id System
43.
44.
/dev/sda1 * 63 247,528,567 247,528,505 7 NTFS / exFAT / HPFS
45.
/dev/sda2 247,529,520 251,626,094 4,096,575 82 Linux swap / Solaris
46.
/dev/sda3 251,626,095 488,392,064 236,765,970 83 Linux
47.
48.
49.
"blkid" output: ________________________________________________________________
50.
51.
Device UUID TYPE LABEL
52.
53.
/dev/loop0 squashfs
54.
/dev/sda1 BAE872A6E8726095 ntfs
55.
/dev/sda2 4732bb91-01ae-4742-be80-3850b0f879ce swap
56.
/dev/sda3 d36a255c-0169-4a9d-9328-eca8685b118a ext4
57.
58.
================================ Mount points: =================================
59.
60.
Device Mount_Point Type Options
61.
62.
/dev/sr0 /live/image iso9660 (ro,noatime)
63.
64.
65.
================================ sda1/boot.ini: ================================
66.
67.
--------------------------------------------------------------------------------
68.
[boot loader]
69.
timeout=30
70.
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
71.
[operating systems]
72.
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
73.
--------------------------------------------------------------------------------
74.
75.
=========================== sda3/boot/grub/grub.cfg: ===========================
76.
77.
--------------------------------------------------------------------------------
78.
#
79.
# DO NOT EDIT THIS FILE
80.
#
81.
# It is automatically generated by grub-mkconfig using templates
82.
# from /etc/grub.d and settings from /etc/default/grub
83.
#
84.
85.
### BEGIN /etc/grub.d/00_header ###
86.
if [ -s $prefix/grubenv ]; then
87.
set have_grubenv=true
88.
load_env
89.
fi
90.
if [ "${next_entry}" ] ; then
91.
set default="${next_entry}"
92.
set next_entry=
93.
save_env next_entry
94.
set boot_once=true
95.
else
96.
set default="0"
97.
fi
98.
99.
if [ x"${feature_menuentry_id}" = xy ]; then
100.
menuentry_id_option="--id"
101.
else
102.
menuentry_id_option=""
103.
fi
104.
105.
export menuentry_id_option
106.
107.
if [ "${prev_saved_entry}" ]; then
108.
set saved_entry="${prev_saved_entry}"
109.
save_env saved_entry
110.
set prev_saved_entry=
111.
save_env prev_saved_entry
112.
set boot_once=true
113.
fi
114.
115.
function savedefault {
116.
if [ -z "${boot_once}" ]; then
117.
saved_entry="${chosen}"
118.
save_env saved_entry
119.
fi
120.
}
121.
function recordfail {
122.
set recordfail=1
123.
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
124.
}
125.
function load_video {
126.
if [ x$feature_all_video_module = xy ]; then
127.
insmod all_video
128.
else
129.
insmod efi_gop
130.
insmod efi_uga
131.
insmod ieee1275_fb
132.
insmod vbe
133.
insmod vga
134.
insmod video_bochs
135.
insmod video_cirrus
136.
fi
137.
}
138.
139.
if [ x$feature_default_font_path = xy ] ; then
140.
font=unicode
141.
else
142.
insmod part_msdos
143.
insmod ext2
144.
set root='hd0,msdos3'
145.
if [ x$feature_platform_search_hint = xy ]; then
146.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
147.
else
148.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
149.
fi
150.
font="/usr/share/grub/unicode.pf2"
151.
fi
152.
153.
if loadfont $font ; then
154.
set gfxmode=auto
155.
load_video
156.
insmod gfxterm
157.
set locale_dir=$prefix/locale
158.
set lang=en_US
159.
insmod gettext
160.
fi
161.
terminal_output gfxterm
162.
if [ "${recordfail}" = 1 ] ; then
163.
set timeout=-1
164.
else
165.
if [ x$feature_timeout_style = xy ] ; then
166.
set timeout_style=menu
167.
set timeout=10
168.
# Fallback normal timeout code in case the timeout_style feature is
169.
# unavailable.
170.
else
171.
set timeout=10
172.
fi
173.
fi
174.
### END /etc/grub.d/00_header ###
175.
176.
### BEGIN /etc/grub.d/05_debian_theme ###
177.
set menu_color_normal=white/black
178.
set menu_color_highlight=black/light-gray
179.
#set_background_image "images/tile.png";
180.
181.
set menu_color_normal=white/black
182.
set menu_color_highlight=black/light-gray
183.
if background_color 0,0,0; then
184.
clear
185.
fi
186.
### END /etc/grub.d/05_debian_theme ###
187.
188.
### BEGIN /etc/grub.d/10_linux ###
189.
function gfxmode {
190.
set gfxpayload="${1}"
191.
if [ "${1}" = "keep" ]; then
192.
set vt_handoff=vt.handoff=7
193.
else
194.
set vt_handoff=
195.
fi
196.
}
197.
if [ "${recordfail}" != 1 ]; then
198.
if [ -e ${prefix}/gfxblacklist.txt ]; then
199.
if hwmatch ${prefix}/gfxblacklist.txt 3; then
200.
if [ ${match} = 0 ]; then
201.
set linux_gfx_mode=keep
202.
else
203.
set linux_gfx_mode=text
204.
fi
205.
else
206.
set linux_gfx_mode=text
207.
fi
208.
else
209.
set linux_gfx_mode=keep
210.
fi
211.
else
212.
set linux_gfx_mode=text
213.
fi
214.
export linux_gfx_mode
215.
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d36a255c-0169-4a9d-9328-eca8685b118a' {
216.
recordfail
217.
load_video
218.
gfxmode $linux_gfx_mode
219.
insmod gzio
220.
insmod part_msdos
221.
insmod ext2
222.
set root='hd0,msdos3'
223.
if [ x$feature_platform_search_hint = xy ]; then
224.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
225.
else
226.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
227.
fi
228.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro quiet splash $vt_handoff
229.
initrd /boot/initrd.img-3.13.0-24-generic
230.
}
231.
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d36a255c-0169-4a9d-9328-eca8685b118a' {
232.
menuentry 'Ubuntu, with 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-d36a255c-0169-4a9d-9328-eca8685b118a' {
233.
recordfail
234.
load_video
235.
gfxmode $linux_gfx_mode
236.
insmod gzio
237.
insmod part_msdos
238.
insmod ext2
239.
set root='hd0,msdos3'
240.
if [ x$feature_platform_search_hint = xy ]; then
241.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
242.
else
243.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
244.
fi
245.
echo 'Loading Linux 3.13.0-24-generic ...'
246.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro quiet splash $vt_handoff
247.
echo 'Loading initial ramdisk ...'
248.
initrd /boot/initrd.img-3.13.0-24-generic
249.
}
250.
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-d36a255c-0169-4a9d-9328-eca8685b118a' {
251.
recordfail
252.
load_video
253.
insmod gzio
254.
insmod part_msdos
255.
insmod ext2
256.
set root='hd0,msdos3'
257.
if [ x$feature_platform_search_hint = xy ]; then
258.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
259.
else
260.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
261.
fi
262.
echo 'Loading Linux 3.13.0-24-generic ...'
263.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro recovery nomodeset
264.
echo 'Loading initial ramdisk ...'
265.
initrd /boot/initrd.img-3.13.0-24-generic
266.
}
267.
}
268.
269.
### END /etc/grub.d/10_linux ###
270.
271.
### BEGIN /etc/grub.d/20_linux_xen ###
272.
273.
### END /etc/grub.d/20_linux_xen ###
274.
275.
### BEGIN /etc/grub.d/30_os-prober ###
276.
menuentry 'Microsoft Windows XP Professional (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-BAE872A6E8726095' {
277.
insmod part_msdos
278.
insmod ntfs
279.
set root='hd0,msdos1'
280.
if [ x$feature_platform_search_hint = xy ]; then
281.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 BAE872A6E8726095
282.
else
283.
search --no-floppy --fs-uuid --set=root BAE872A6E8726095
284.
fi
285.
parttool ${root} hidden-
286.
drivemap -s (hd0) ${root}
287.
chainloader +1
288.
}
289.
menuentry 'Ubuntu 14.04 LTS (14.04) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d36a255c-0169-4a9d-9328-eca8685b118a' {
290.
insmod part_msdos
291.
insmod ext2
292.
set root='hd0,msdos3'
293.
if [ x$feature_platform_search_hint = xy ]; then
294.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
295.
else
296.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
297.
fi
298.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro quiet splash $vt_handoff
299.
initrd /boot/initrd.img-3.13.0-24-generic
300.
}
301.
submenu 'Advanced options for Ubuntu 14.04 LTS (14.04) (on /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-d36a255c-0169-4a9d-9328-eca8685b118a' {
302.
menuentry 'Ubuntu (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-24-generic--d36a255c-0169-4a9d-9328-eca8685b118a' {
303.
insmod part_msdos
304.
insmod ext2
305.
set root='hd0,msdos3'
306.
if [ x$feature_platform_search_hint = xy ]; then
307.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
308.
else
309.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
310.
fi
311.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro quiet splash $vt_handoff
312.
initrd /boot/initrd.img-3.13.0-24-generic
313.
}
314.
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-24-generic--d36a255c-0169-4a9d-9328-eca8685b118a' {
315.
insmod part_msdos
316.
insmod ext2
317.
set root='hd0,msdos3'
318.
if [ x$feature_platform_search_hint = xy ]; then
319.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
320.
else
321.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
322.
fi
323.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro quiet splash $vt_handoff
324.
initrd /boot/initrd.img-3.13.0-24-generic
325.
}
326.
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-24-generic-root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro recovery nomodeset-d36a255c-0169-4a9d-9328-eca8685b118a' {
327.
insmod part_msdos
328.
insmod ext2
329.
set root='hd0,msdos3'
330.
if [ x$feature_platform_search_hint = xy ]; then
331.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 d36a255c-0169-4a9d-9328-eca8685b118a
332.
else
333.
search --no-floppy --fs-uuid --set=root d36a255c-0169-4a9d-9328-eca8685b118a
334.
fi
335.
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d36a255c-0169-4a9d-9328-eca8685b118a ro recovery nomodeset
336.
initrd /boot/initrd.img-3.13.0-24-generic
337.
}
338.
}
339.
340.
set timeout_style=menu
341.
if [ "${timeout}" = 0 ]; then
342.
set timeout=10
343.
fi
344.
### END /etc/grub.d/30_os-prober ###
345.
346.
### BEGIN /etc/grub.d/30_uefi-firmware ###
347.
### END /etc/grub.d/30_uefi-firmware ###
348.
349.
### BEGIN /etc/grub.d/40_custom ###
350.
# This file provides an easy way to add custom menu entries. Simply type the
351.
# menu entries you want to add after this comment. Be careful not to change
352.
# the 'exec tail' line above.
353.
### END /etc/grub.d/40_custom ###
354.
355.
### BEGIN /etc/grub.d/41_custom ###
356.
if [ -f ${config_directory}/custom.cfg ]; then
357.
source ${config_directory}/custom.cfg
358.
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
359.
source $prefix/custom.cfg;
360.
fi
361.
### END /etc/grub.d/41_custom ###
362.
--------------------------------------------------------------------------------
363.
364.
=============================== sda3/etc/fstab: ================================
365.
366.
--------------------------------------------------------------------------------
367.
# /etc/fstab: static file system information.
368.
#
369.
# Use 'blkid' to print the universally unique identifier for a
370.
# device; this may be used with UUID= as a more robust way to name devices
371.
# that works even if disks are added and removed. See fstab(5).
372.
#
373.
# <file system> <mount point> <type> <options> <dump> <pass>
374.
# / was on /dev/sda3 during installation
375.
UUID=d36a255c-0169-4a9d-9328-eca8685b118a / ext4 errors=remount-ro 0 1
376.
# swap was on /dev/sda2 during installation
377.
UUID=4732bb91-01ae-4742-be80-3850b0f879ce none swap sw 0 0
378.
--------------------------------------------------------------------------------
379.
380.
=================== sda3: Location of files loaded by Grub: ====================
381.
382.
GiB - GB File Fragment(s)
383.
384.
?? = ?? boot/grub/grub.cfg 1
385.
?? = ?? boot/initrd.img-3.13.0-24-generic 3
386.
?? = ?? boot/vmlinuz-3.13.0-24-generic 1
387.
?? = ?? initrd.img 3
388.
?? = ?? vmlinuz 1
389.
390.
=============================== StdErr Messages: ===============================
391.
392.
File descriptor 7 (pipe:[5577]) leaked on lvscan invocation. Parent PID 7686: bash
393.
File descriptor 8 (pipe:[5577]) leaked on lvscan invocation. Parent PID 7686: bash
394.
No volume groups found
395.
mdadm: No arrays found in config file or automatically
396.
397.
ADDITIONAL INFORMATION :
398.
=================== log of boot-repair 2014-05-13__02h57 ===================
399.
boot-repair version : 3.195~ppa11~lucid
400.
boot-sav version : 3.195~ppa11~lucid
401.
glade2script-gtk2 version : 3.2.2~ppa45~lucid
402.
boot-sav-extra version : 3.195~ppa11~lucid
403.
File descriptor 7 (pipe:[5577]) leaked on lvs invocation. Parent PID 3593: /bin/sh
404.
File descriptor 8 (pipe:[5577]) leaked on lvs invocation. Parent PID 3593: /bin/sh
405.
No volume groups found
406.
boot-repair is executed in live-session (Boot-Repair-Disk 29nov2012, squeeze, Debian, i686)
407.
CPU op-mode(s): 32-bit
408.
initrd=/live/initrd.img boot=live config quiet BOOT_IMAGE=/live/vmlinuz
409.
410.
=================== os-prober:
411.
/dev/sda1:Microsoft Windows XP Professional:Windows:chain
412.
/dev/sda3:Ubuntu 14.04 LTS (14.04):Ubuntu:linux
413.
414.
=================== blkid:
415.
/dev/sda1: UUID="BAE872A6E8726095" TYPE="ntfs"
416.
/dev/sda2: UUID="4732bb91-01ae-4742-be80-3850b0f879ce" TYPE="swap"
417.
/dev/sda3: UUID="d36a255c-0169-4a9d-9328-eca8685b118a" TYPE="ext4"
418.
/dev/loop0: TYPE="squashfs"
419.
420.
421.
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
422.
423.
424.
425.
=================== sda3/etc/default/grub :
426.
427.
# If you change this file, run 'update-grub' afterwards to update
428.
# /boot/grub/grub.cfg.
429.
# For full documentation of the options in this file, see:
430.
# info -f grub -n 'Simple configuration'
431.
432.
GRUB_DEFAULT=0
433.
#GRUB_HIDDEN_TIMEOUT=0
434.
GRUB_HIDDEN_TIMEOUT_QUIET=true
435.
GRUB_TIMEOUT=10
436.
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
437.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
438.
GRUB_CMDLINE_LINUX=""
439.
440.
# Uncomment to enable BadRAM filtering, modify to suit your needs
441.
# This works with Linux (no patch required) and with any kernel that obtains
442.
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
443.
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
444.
445.
# Uncomment to disable graphical terminal (grub-pc only)
446.
#GRUB_TERMINAL=console
447.
448.
# The resolution used on graphical terminal
449.
# note that you can use only modes which your graphic card supports via VBE
450.
# you can see them in real GRUB with the command `vbeinfo'
451.
#GRUB_GFXMODE=640x480
452.
453.
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
454.
#GRUB_DISABLE_LINUX_UUID=true
455.
456.
# Uncomment to disable generation of recovery mode menu entries
457.
#GRUB_DISABLE_RECOVERY="true"
458.
459.
# Uncomment to get a beep at grub start
460.
#GRUB_INIT_TUNE="480 440 1"
461.
462.
463.
464.
465.
=================== sda3/etc/grub.d/ :
466.
drwxr-xr-x 2 root root 4096 May 13 02:00 grub.d
467.
drwxr-xr-x 2 root root 4096 May 13 01:59 grub.d.bak
468.
total 72
469.
-rwxr-xr-x 1 root root 9424 Apr 11 10:48 00_header
470.
-rwxr-xr-x 1 root root 6058 Apr 10 15:58 05_debian_theme
471.
-rwxr-xr-x 1 root root 11608 Apr 11 10:48 10_linux
472.
-rwxr-xr-x 1 root root 10412 Apr 11 10:48 20_linux_xen
473.
-rwxr-xr-x 1 root root 11692 Apr 11 10:48 30_os-prober
474.
-rwxr-xr-x 1 root root 1416 Apr 11 10:48 30_uefi-firmware
475.
-rwxr-xr-x 1 root root 214 Apr 11 10:48 40_custom
476.
-rwxr-xr-x 1 root root 216 Apr 11 10:48 41_custom
477.
-rw-r--r-- 1 root root 483 Apr 11 10:48 README
478.
479.
480.
=================== UEFI/Legacy mode:
481.
This live-session is not EFI-compatible.
482.
SecureBoot maybe enabled.
483.
484.
485.
=================== PARTITIONS & DISKS:
486.
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, ntldr, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda1.
487.
sda3 : sda, not-sepboot, grubenv-ok grub2, grub-pc, update-grub, 32, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
488.
489.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
490.
491.
492.
=================== parted -l:
493.
494.
Model: ATA WDC WD2500BEVE-0 (scsi)
495.
Disk /dev/sda: 250GB
496.
Sector size (logical/physical): 512B/512B
497.
Partition Table: msdos
498.
499.
Number Start End Size Type File system Flags
500.
1 32.3kB 127GB 127GB primary ntfs boot
501.
2 127GB 129GB 2097MB primary linux-swap(v1)
502.
3 129GB 250GB 121GB primary ext4
503.
504.
505.
506.
507.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
508.
has been opened read-only.
509.
510.
511.
Error: /dev/sr0: unrecognised disk label
512.
513.
=================== parted -lm:
514.
515.
BYT;
516.
/dev/sda:250GB:scsi:512:512:msdos:ATA WDC WD2500BEVE-0;
517.
1:32.3kB:127GB:127GB:ntfs::boot;
518.
2:127GB:129GB:2097MB:linux-swap(v1)::;
519.
3:129GB:250GB:121GB:ext4::;
520.
521.
522.
523.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
524.
has been opened read-only.
525.
526.
527.
Error: /dev/sr0: unrecognised disk label
528.
529.
530.
=================== mount:
531.
aufs on / type aufs (rw)
532.
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
533.
proc on /proc type proc (rw,noexec,nosuid,nodev)
534.
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
535.
udev on /dev type tmpfs (rw,mode=0755)
536.
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
537.
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
538.
/dev/sr0 on /live/image type iso9660 (ro,noatime)
539.
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
540.
tmpfs on /live type tmpfs (rw,relatime)
541.
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
542.
fusectl on /sys/fs/fuse/connections type fusectl (rw)
543.
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,allow_other,blksize=4096)
544.
/dev/sda3 on /mnt/boot-sav/sda3 type ext4 (rw)
545.
546.
547.
=================== ls:
548.
/sys/block/sda (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
549.
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
550.
/dev (filtered): agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu_dma_latency disk dri dvd dvdrw fb0 fd full fuse hpet initctl input kmsg log MAKEDEV md mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 scd0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sndstat sr0 stderr stdin stdout urandom vga_arbiter xconsole zero
551.
ls /dev/md:
552.
553.
=================== df -Th:
554.
555.
Filesystem Type Size Used Avail Use% Mounted on
556.
aufs aufs 252M 7.2M 245M 3% /
557.
tmpfs tmpfs 252M 0 252M 0% /lib/init/rw
558.
udev tmpfs 247M 176K 247M 1% /dev
559.
tmpfs tmpfs 252M 0 252M 0% /dev/shm
560.
/dev/sr0 iso9660 340M 340M 0 100% /live/image
561.
tmpfs tmpfs 252M 7.2M 245M 3% /live/cow
562.
tmpfs tmpfs 252M 0 252M 0% /live
563.
tmpfs tmpfs 252M 8.0K 252M 1% /tmp
564.
/dev/sda1 fuseblk 119G 12G 108G 10% /mnt/boot-sav/sda1
565.
/dev/sda3 ext4 112G 3.4G 103G 4% /mnt/boot-sav/sda3
566.
567.
=================== fdisk -l:
568.
569.
Disk /dev/sda: 250.1 GB, 250059350016 bytes
570.
255 heads, 63 sectors/track, 30401 cylinders
571.
Units = cylinders of 16065 * 512 = 8225280 bytes
572.
Sector size (logical/physical): 512 bytes / 512 bytes
573.
I/O size (minimum/optimal): 512 bytes / 512 bytes
574.
Disk identifier: 0x00083923
575.
576.
Device Boot Start End Blocks Id System
577.
/dev/sda1 * 1 15408 123764252+ 7 HPFS/NTFS
578.
/dev/sda2 15409 15663 2048287+ 82 Linux swap / Solaris
579.
/dev/sda3 15664 30401 118382985 83 Linux
580.
581.
582.
583.
=================== Default settings
584.
Recommended-Repair
585.
This setting would reinstall the grub2 of sda3 into the MBR of sda.
586.
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot
587.
588.
=================== Settings chosen by the user
589.
Boot-Info
590.
This setting will not act on the MBR.
591.
592.
593.
594.
No change has been performed on your computer. See you soon!
595.

Comments powered by Disqus
© 2006 - 2014 Paste2.org.
Follow paste2.org on Twitter

ondoho 05-13-2014 03:53 PM

where did this paste come from? i can't make head nor tails of it.

and please use code tags (go advanced -> #).

starsage77 05-13-2014 03:59 PM

the reporting function in Boot-Repair

code tags?

yancek 05-13-2014 04:16 PM

Quote:

code tags?
When you click Post Reply and the window opens in which to reply there are a number of icons just above it. The code tag is a hash mark (#) and if you mouse over them you will what each is. I started reading your post earlier but gave up. You do have Grub in the mbr but it indicates it is looking in partition 112 for additional files??

Quote:

And nowadays the so-called Live Disc prevents you from installing grub from a terminal window.
No, you should still be able to do that.

starsage77 05-13-2014 04:27 PM

Quote:

Originally Posted by yancek (Post 5170236)
When you click Post Reply and the window opens in which to reply there are a number of icons just above it. The code tag is a hash mark (#) and if you mouse over them you will what each is. I started reading your post earlier but gave up. You do have Grub in the mbr but it indicates it is looking in partition 112 for additional files??



No, you should still be able to do that.

Terminal window during Live CD produces some error about block codes when I try to manually reinstall grub.
It did this with 13.04 too Think it's been ever since they took out the Rescue option from the cd launch menu

ondoho 05-13-2014 11:41 PM

statements like "some error" and "all of the usual routes" will not help solve your problem.

syg00 05-14-2014 12:25 AM

Quote:

Originally Posted by starsage77 (Post 5170252)
Terminal window during Live CD produces some error about block codes when I try to manually reinstall grub.

That might imply you are trying to install to the partition rather than MBR.

Show the command you used (exactly), and all messages.

starsage77 05-15-2014 10:45 AM

Quote:

Originally Posted by syg00 (Post 5170445)
That might imply you are trying to install to the partition rather than MBR.

Show the command you used (exactly), and all messages.

So, if my XP partition is sda1 I should install grub to sda instead ?

Here's what I entered:

sudo -i

sudo fdisk -l

sudo mount /dev/sda3 /mnt
sudo mount /dev/sda3 /mnt/boot
sudo mount --bind /dev /mnt/dev/

sudo chroot /mnt

grub-install /dev/sda1

Warning: file system 'ntfs' doesn't support embedding

This last part is shortened.. but you get the idea

ondoho 05-15-2014 12:36 PM

that is far from exact.

but like syg00 said, i guess it should be
Code:

grub-install /dev/sda
and PLEASE use code tags (go advanced -> #).

starsage77 05-15-2014 12:49 PM

I'll try syg00's suggestion once I'm home later.

Sorry if I didn't give a complete transcription.. I was reading from a pic I took
with my cell. My laptop was running slow with the Live CD so I had to type the
commands from the pic I took with my cell.

syg00 05-15-2014 06:11 PM

You're lucky grub2 disallowed that, else you'd be fixing XP as well.
You don't have a separate partition for /boot, so don't need that mount for the chroot, but a bind mount for proc is always worthwhile.

As said, install to the MBR - it will replace the copy already there. If you have problems, check that the BIOS doesn't have any "boot virus" options set - that's designed to stop updates to the BIOS.

slopsbucket 05-15-2014 06:27 PM

Hi Starsage77

The problem is both simple and profound.

Quote:

=================== UEFI/Legacy mode:
481.
This live-session is not EFI-compatible.
482.
You're trying to install 2 different boot systems on one harddrive, can't be done I'm sorry.

WinXP requires an MBR type boot system that on new computers is called Legacy Boot. Legacy is just a polite word for "old crap no longer used".

The version of Ubuntu you're trying to install is 64 bit and requires a UEFI boot system.

You can dual boot them as I do but they can not co-exist on the same physical harddrive. They must be completely different drives so if you're trying to do this on a laptop it isn't going to happen. And no grub menu can switch between the 2 boot systems either, you need to use the BIOS boot menu (F12 key on mine) to choose which drive to boot.

Try downloading and installing the 32 bit version instead, not sure here but I think that does legacy boot.

Cheers,

Andrew.

syg00 05-15-2014 06:58 PM

I don't think so - if that were true the chroot would fail. Also, the liveCD boots which last I tried never would on an architecture mismatch.


I think that message is merely infomational.

slopsbucket 05-15-2014 07:49 PM

Hi syg00,

I wasn't suggesting that his computer wasn't capable of running the 64 bit version, merely that the two boot systems are incompatable.

Taken from his boot menu:
Quote:

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3
This looks exactly like the lines in my boot menu where my WinXP and FC17 get listed.

When I boot up the grub menu shows Windows XP and Fedora 17 but if I attempt to boot either of them from that menu the system falls over and requires a hard reboot. That same grub menu will however start my Fedora 19 which is uefi boot. Those lines look like:

Quote:

search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2
I don't need to go into my bios and change boot modes, the bios does this automatically.

In much the same manner, his computer can probably uefi boot the live cd but fails the boot menu on a harddrive with mbr partitioning.

And of course I could be completely wrong, won't be the first time or the last. But I think it's an avenue worth exploring.

Cheers,

Andrew.

starsage77 05-16-2014 08:49 AM

Quote:

Originally Posted by slopsbucket (Post 5171706)
Hi syg00,

I wasn't suggesting that his computer wasn't capable of running the 64 bit version, merely that the two boot systems are incompatable.

Taken from his boot menu:


This looks exactly like the lines in my boot menu where my WinXP and FC17 get listed.

When I boot up the grub menu shows Windows XP and Fedora 17 but if I attempt to boot either of them from that menu the system falls over and requires a hard reboot. That same grub menu will however start my Fedora 19 which is uefi boot. Those lines look like:



I don't need to go into my bios and change boot modes, the bios does this automatically.

In much the same manner, his computer can probably uefi boot the live cd but fails the boot menu on a harddrive with mbr partitioning.

And of course I could be completely wrong, won't be the first time or the last. But I think it's an avenue worth exploring.

Cheers,

Andrew.

Actually... the Live CD does run on my pc. I'm just on a 7+ yr old IBM Thinkpad (T30) so it's slow to respond until I've let the environment load for 5-10 mins before proceeding. And the ISO of 14.04 that I burned was the 32 Bit edition.

But yeah.. it loads the Live CD ok just doesn't boot grub. I'm wondering if I can reformat, install Trusty Tahr then install XP on a secondary partition afterward (reinstall grub of course).

I've considered making my system linux exclusive and run XP from a virtual machine. It's just that the vm for xp tends to run slow.. But oh well, it might just have to do until I can get a new laptop.

Thanks to those of you who've been patient (and courteous)


All times are GMT -5. The time now is 06:10 PM.