PDA

View Full Version : [ubuntu] Ubuntu 10.04 Windows 7 dual boot problem



zazootheparrot
October 14th, 2010, 11:43 PM
Hello there,

I have an ubuntu 10.04 Lucid Lynx running on a Sony Vaio VGN-SZ740. During the past week I've had a problem with the operating system booting. It happened after I did the usual update of the system using the update manager.
It's worth mentioning that I have a Linux/ Windows 7 dual boot but they all worked fine before. Here's what I see in the GRUB page when I start my computer:

GNU GRUB version 1.98-ubuntu 7
Ubuntu, with linux 2.6.32-25-generic
Ubuntu, with linux 2.6.21-25-generic (recovery mode)
Ubuntu, with linux 2.6.21-24-generic
Ubuntu, with linux 2.6.21-24-generic (recovery mode)
Ubuntu, with linux 2.6.21-23-generic
Ubuntu, with linux 2.6.21-23-generic (recovery mode)
Ubuntu, with linux 2.6.21-21-generic
Ubuntu, with linux 2.6.21-21-generic (recovery mode)
Memory test (memtest 86+)
Memory test (memtest console 115200)
Windows 7 loader (on/dev/sda1)

After I choose the first one (as I always did), I get the following:

Ubuntu 10.04.1 LTS ava-laptop tty1
ava-laptop login .. [129.736043] tpm_tis 00:09: tpm_trasmit :tpm_send: error 42 94967234

and then it takes more that 3 minutes for ubuntu to come up!!!

I would we grateful if anyone could could help me solve this issue,

Thank you in advance

VMC
October 15th, 2010, 03:45 AM
Hello there,

I have an ubuntu 10.04 Lucid Lynx running on a Sony Vaio VGN-SZ740. During the past week I've had a problem with the operating system booting. It happened after I did the usual update of the system using the update manager.
It's worth mentioning that I have a Linux/ Windows 7 dual boot but they all worked fine before. Here's what I see in the GRUB page when I start my computer:

GNU GRUB version 1.98-ubuntu 7
Ubuntu, with linux 2.6.32-25-generic
Ubuntu, with linux 2.6.21-25-generic (recovery mode)
Ubuntu, with linux 2.6.21-24-generic
Ubuntu, with linux 2.6.21-24-generic (recovery mode)
Ubuntu, with linux 2.6.21-23-generic
Ubuntu, with linux 2.6.21-23-generic (recovery mode)
Ubuntu, with linux 2.6.21-21-generic
Ubuntu, with linux 2.6.21-21-generic (recovery mode)
Memory test (memtest 86+)
Memory test (memtest console 115200)
Windows 7 loader (on/dev/sda1)

After I choose the first one (as I always did), I get the following:

Ubuntu 10.04.1 LTS ava-laptop tty1
ava-laptop login .. [129.736043] tpm_tis 00:09: tpm_trasmit :tpm_send: error 42 94967234

and then it takes more that 3 minutes for ubuntu to come up!!!

I would we grateful if anyone could could help me solve this issue,

Thank you in advance
We need to see more detail. Printout "/boot/grub/grub.cfg".

izmailov22
October 16th, 2010, 03:23 PM
Hi all,

I have the same problem, with an Acer 6592g, with ati radeon hd2400xt.
I try to re-install ubuntu, and the problem is still present, but only after the installation of video-card driver...

ps:(sorry for my English...)

zazootheparrot
October 16th, 2010, 07:35 PM
I typed the code :

/boot/grub/grub.cfg
but the following appeared:

root@ava-laptop:~# /boot/grub/grub.cfg
bash: /boot/grub/grub.cfg: Permission denied


even though I'm a root!

What should I do now?




We need to see more detail. Printout "/boot/grub/grub.cfg".

irv
October 16th, 2010, 07:51 PM
Type

sudo gedit /boot/grub/grub.cfg
This will open gedit: copy and paste the information in the file between quote tags like this. This is a piece of my grub.cfg file.

#
# 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 ###

izmailov22
October 16th, 2010, 09:17 PM
thank's for the reply!!

I don't know the problem, but if I uninstall the driver video the pc everything goes well (loading screen with ubuntu logo on high resolution). But when I activate the driver the loading screen resolution goes down, and after a while appears only the terminal.


my grub file:


#
# 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="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
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
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='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
set locale_dir=($root)/boot/grub/locale
set lang=it
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, con Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=0e6cc73b-1cf6-47b3-b412-0d32885a36bd ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-25-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
echo 'Caricamento Linux 2.6.32-25-generic...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=0e6cc73b-1cf6-47b3-b412-0d32885a36bd ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-25-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 0e6cc73b-1cf6-47b3-b412-0d32885a36bd
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set fadc6974e49bed2a
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 9e248cdb248cb833
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 ###

VMC
October 17th, 2010, 01:19 AM
I'm not sure what your problem is. The grub file looks correct on quick glance.

If you download and run boot_info_script I can make a more detail comparison. Go here (http://ubuntuforums.org/showthread.php?t=1291280) for instructions on how to download and run the script.

Then copy and paste the RESULTS.txt file back between CODE tags. (That's using the '#' hash marks above) . That makes the formatting easier to read.

zazootheparrot
October 18th, 2010, 12:06 AM
Type

sudo gedit /boot/grub/grub.cfgThis will open gedit: copy and paste the information in the file between quote tags like this. This is a piece of my grub.cfg file.

Thanks for your reply.
This is what I get when I type the code:

#
# 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 part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
set locale_dir=($root)/boot/grub/locale
set lang=en
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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d1f32217-6284-4bae-bbeb-92590b67a580 ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d1f32217-6284-4bae-bbeb-92590b67a580 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=d1f32217-6284-4bae-bbeb-92590b67a580 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
echo 'Loading Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=d1f32217-6284-4bae-bbeb-92590b67a580 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-25-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,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set d1f32217-6284-4bae-bbeb-92590b67a580
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)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 8824fc4224fc3532
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 ###

I would appreciate any help! :)

zazootheparrot
October 18th, 2010, 12:08 AM
I also wanted to add that I've just upgraded my system to Ubuntu 10.10 because I thought this might actually solve the problem but unfortunately it didn't. :(