Thu 29 Jul 2010 10:03:58 PM UTC, comment #41:
Well after following the instructions provided so far, and a combination of some ubuntu update, I was no longer able to boot into Ubuntu or Windows XP.
I finally have up and re-installed everything after spending 3 days of copying files and updating backups.
Thanksfully the Ubuntu Live CD saved me a lot more pain, and now all is working.
I did get a Grub Error 17 after installing Ubuntu, but I realized this was caused by the sequence of hard drives the BIOS was set too.
Swapping the order made sure that the first drive with the grub boot loader was started correctly.
It seems while I was sorting out my computer there has been some lively debate going on here, but as far as being able to work out what caused the original problem I am still no closer.
My original install had Windows XP on hda and Ubuntu on hdb, which seems to be the primary reason the dual boot failed, so I re-installed Windows XP onto hdb, Ubuntu onto hda and made sure that the primary drive was first in the boot list for the BIOS, then all worked from here on.
My only suggestion for getting to the bottom of this problem is to try a combination of two SATA drives, one with Windows XP and one with Ubuntu 64-bit 10.04, (although the original problem was caused by the update from Ubuntu 9.10 to 10.04), and try various combinations around this configuration.
Finally, I would like to thank everyone who gave up there time to try and help.
|
Wed 28 Jul 2010 02:06:39 PM UTC, comment #40:
> And remeber dude - developer's ethics is
I'm not your dude. As far as I'm concerned you're a regular asshole. The only reason I don't close your bugreport is that I treat bugreports all the same.
> "if you can't deliver - don't promise".
Nobody can promise bugfreeness, especially in booting, where you're affected by other's bugs.
> You have a chance to regain respect if you'll disable booting
> XP in your product until it's fixed.
I don't want to be respected by you. I don't care about your opinion at all. Try to sell your respect to someone who cares.
> while your guinea pig users are staying behind in achieving
> theirs
You achieved yours. I'm forced to close this bugreport as invalid since it contains way too much spam. I'm opening a new bugreport for real part.
|
Tue 27 Jul 2010 10:30:14 PM UTC, comment #39:
From my point of view they can deliver. It might be a not fully complete and bug free feature, but for me at least and (many) other users it's working. Your demand to disable this feature completely regardless of other users who might suffer from this is imho egocentric.
I guess nobody would mind you communicating grub as buggy to several distros. Even more as I assume your complaints will be written in the same way, thus annoying just more people.
Just a small, evident hint: If you really want a fix/feature, try to friendly and as helpful as possible. :)
|
Tue 27 Jul 2010 08:42:50 PM UTC, comment #38:
> Vladimir, please remember that we may not necessarily have
> machines set up for grub development like you do. If you could
> package a .deb it would have sped up our testing enormously
I don't do any packaging. It's not a job of upstream.
Unfortunately blinking cursor can be symptom of many possible subtle problems. At this point it seems that I have to recreate the environment myself or find someone in the neighborhood with such a problem. Both are time consuming and I doubt to have any of it until September (exams). You can try to speak with another dev meanwhile.
> Lilo worked just fine
If this is supposed to speed me up, you're wrong, it only annoys me and I don't like to be annoyed so it only decreases the priority. I don't make any money from this so, I can spend only so much time on it.
|
Fri 23 Jul 2010 01:33:13 PM UTC, comment #37:
Lilo worked just fine
|
Thu 22 Jul 2010 09:17:08 PM UTC, comment #36:
It seems a friend of mine also could not dual boot Ubuntu 10.04 and Windows XP, which like myself have these installed on two drives, with the Windows XP install being on the primary drive, and Ubuntu on the other.
Although like me, he doesn't know why, although he suspects it's something to do with the BIOS trying to detect the drive with the boot loader as the primary drive, even though the boot partition is on the second drive.
But it seems that Grub can deal with this issue, just not Grub2?
It's best guess I'm afraid as this is not my area of expertise, but maybe someone with more knowledge of hardware and boot loaders will make more sense of it?
|
Wed 21 Jul 2010 05:08:03 PM UTC, comment #35:
Okay finally got it all to build and install, but it has made no difference to the Windows partition not booting, same old problem.
Is it possible to get it back to Grub from Grub2?
That worked without any problems before the upgrade.
|
Tue 20 Jul 2010 08:35:18 AM UTC, comment #34:
@Colin Girling
And libgcc1 package too.
|
Tue 20 Jul 2010 08:33:26 AM UTC, comment #33:
@Colin Girling
To build GRUB on 64-bit machine, you need multilib packages installed too. They are usually named gcc-multilib or gcc-4.3-multilib. Try grub build after installing them.
|
Mon 19 Jul 2010 05:12:20 PM UTC, comment #32:
I wish I could make, but after running make I still get...
gcc -o kernel.img kernel_img-kern_i386_pc_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_main.o kernel_img-kern_device.o kernel_img-kern_disk.o kernel_img-kern_dl.o kernel_img-kern_file.o kernel_img-kern_fs.o kernel_img-kern_err.o kernel_img-kern_misc.o kernel_img-kern_mm.o kernel_img-kern_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_i386_pc_init.o kernel_img-kern_i386_pc_mmap.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_i386_tsc.o kernel_img-kern_i386_pit.o kernel_img-kern_generic_rtc_get_time_ms.o kernel_img-kern_generic_millisleep.o kernel_img-kern_env.o kernel_img-term_i386_pc_console.o kernel_img-term_i386_vga_common.o kernel_img-symlist.o -nostdlib -static-libgcc -m32 -Wl,--build-id=none -lgcc -nostdlib -Wl,-N -Wl,-Ttext,0x8200 -mrtd -mregparm=3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make: *** [kernel.img] Error 1
|
Mon 19 Jul 2010 01:03:40 PM UTC, comment #31:
Colin, your configure output is fine. You can make now.
|
Fri 16 Jul 2010 08:02:52 PM UTC, comment #30:
./configure produces the following, and I suspect that something is not as it should be, any ideas?
I am wondering if there's an issue with 64-bit ubuntu on a AMD dual core CPU, or just that something is not installed...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package minix
colin@colin-desktop:~/grub$ ./autogen.sh
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
automake: no `Makefile.am' found for any configure output
WARNING: ./lib/libgcrypt-grub already exists
WARNING: ./lib/libgcrypt-grub/cipher already exists
WARNING: C file isn't a module: ecc.c
WARNING: C file isn't a module: rsa.c
WARNING: C file isn't a module: dsa.c
WARNING: C file isn't a module: primegen.c
WARNING: C file isn't a module: elgamal.c
colin@colin-desktop:~/grub$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cmp... cmp
checking for bison... bison
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ruby... /usr/bin/ruby
checking for makeinfo... /usr/bin/makeinfo
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define _EXTENSIONS_... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking whether our compiler is apple cc... no
checking for help2man... no
checking for posix_memalign... yes
checking for memalign... yes
checking for asprintf... yes
checking for vasprintf... yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for memmove... yes
checking for sbrk... yes
checking for strdup... yes
checking for lstat... yes
checking for getuid... yes
checking for getgid... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for objcopy... objcopy
checking for strip... strip
checking for nm... nm
checking whether -falign-loops works... yes
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether our target compiler is apple cc... no
checking for command to convert module to ELF format...
checking whether `gcc' generates calls to `__enable_execute_stack()'... no
checking whether `gcc' has `-fPIE' as default... no
checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-mstack-arg-probe'... no
checking if C symbols get an underscore after compilation... no
checking for __bswapsi2... no
checking for __bswapdi2... no
checking for __ashldi3... no
checking for __ashrdi3... no
checking for __lshrdi3... no
checking for __trampoline_setup... no
checking for __ucmpdi2... no
checking for _restgpr_14_x... no
checking whether target compiler is working... yes
checking whether objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking if __bss_start is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking whether options required for efiemu work... yes
checking whether -nostdinc -isystem works... yes
checking for freetype-config... freetype-config
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for dm_task_create in -ldevmapper... no
checking whether ln can handle directories properly... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gensymlist.sh
config.status: creating genkernsyms.sh
config.status: creating stamp-h
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking include/grub/i386 to include/grub/cpu
config.status: linking include/grub/i386/pc to include/grub/machine
config.status: executing depfiles commands
config.status: executing po-directories commands
*******************************************************
GRUB2 will be compiled with following components:
Platform: i386-pc
With memory debugging: No
efiemu runtime: Yes
grub-fstest: Yes
grub-mkfont: Yes
*******************************************************
|
Fri 16 Jul 2010 07:59:16 PM UTC, comment #29:
I have found this link, which makes a comment about grub not working, but don't understand the problem.
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/462171
|
Fri 16 Jul 2010 07:40:31 PM UTC, comment #28:
okay make failed, don't know why but it reported the following:
gcc -o kernel.img kernel_img-kern_i386_pc_startup.o kernel_img-kern_i386_misc.o kernel_img-kern_main.o kernel_img-kern_device.o kernel_img-kern_disk.o kernel_img-kern_dl.o kernel_img-kern_file.o kernel_img-kern_fs.o kernel_img-kern_err.o kernel_img-kern_misc.o kernel_img-kern_mm.o kernel_img-kern_term.o kernel_img-kern_rescue_parser.o kernel_img-kern_rescue_reader.o kernel_img-kern_time.o kernel_img-kern_list.o kernel_img-kern_command.o kernel_img-kern_corecmd.o kernel_img-kern___target_cpu__dl.o kernel_img-kern_i386_pc_init.o kernel_img-kern_i386_pc_mmap.o kernel_img-kern_parser.o kernel_img-kern_partition.o kernel_img-kern_i386_tsc.o kernel_img-kern_i386_pit.o kernel_img-kern_generic_rtc_get_time_ms.o kernel_img-kern_generic_millisleep.o kernel_img-kern_env.o kernel_img-term_i386_pc_console.o kernel_img-term_i386_vga_common.o kernel_img-symlist.o -nostdlib -static-libgcc -m32 -Wl,--build-id=none -lgcc -nostdlib -Wl,-N -Wl,-Ttext,0x8200 -mrtd -mregparm=3
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make: *** [kernel.img] Error 1
|
Fri 16 Jul 2010 07:33:18 PM UTC, comment #27:
Okay I worked out what the instructions mean, and basically I didn't have ruby, bison or other tools installed, so will continue trying to make this work and get back to everyone after I have tried to fix the boot loading.
|
Fri 16 Jul 2010 06:48:35 PM UTC, comment #26:
Vladimir, please remember that we may not necessarily have machines set up for grub development like you do. If you could package a .deb it would have sped up our testing enormously.
|
Fri 16 Jul 2010 12:47:38 PM UTC, comment #25:
Okay I have the source code from the repository, but I have no idea what this means?
./autogen.sh
./configure
typing them just gives me no such directory.
If I cd grub, then type make it cannot find a make file.
To be honest I do not want to jsut randomly type commands and hope the minute something works my machine won't be trashed, so please be more specific so I do not make a mistake.
Thanks.
|
Fri 16 Jul 2010 12:37:01 PM UTC, comment #24:
As I did copy and paste the command directly from your post, it's not surprising it did not work, thanks.
|
Fri 16 Jul 2010 12:31:52 PM UTC, comment #23:
http://bzr.savannah.gnu.org/r/grub/trunk/grub/ not http://bzr.savannah.gnu.org/r/grub/trunk/
|
Fri 16 Jul 2010 12:17:36 PM UTC, comment #22:
I have typed in bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/ after using apt-get to install bazaar and it tells me this is not a branch.
any ideas what to do next?
|
Fri 16 Jul 2010 12:03:59 PM UTC, comment #21:
I've written the exact commands to use:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/
./autogen.sh
./configure
make
sudo make install
sudo grub-install /dev/???
Replace ??? with your boot drive
|
Fri 16 Jul 2010 11:45:18 AM UTC, comment #20:
I have already browsed this location using firefox and it shows me empty folders or plain text ascii files.
Could you please be more specific?
Also I have not been able to find anything called drivemap and have no idea what it is meant to do.
|
Fri 16 Jul 2010 11:37:42 AM UTC, comment #19:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/
./autogen.sh
./configure
make
sudo make install
|
Fri 16 Jul 2010 11:29:29 AM UTC, comment #18:
I would love to test it with bzr trunk but after trying to browse your source code repository, I cannot find it.
Please give instructions how to find this and I will test it, thanks.
|
Fri 16 Jul 2010 08:21:48 AM UTC, comment #17:
coldude: Both of you use drivemap. It had a bug which is fixed in bzr trunk. Can you test with bzr trunk?
|
Thu 15 Jul 2010 09:49:50 PM UTC, comment #16:
I can confirm that I am having exactly the same problem as zenith_88.
If I attempt to boot my Windows XP partition, then it will just go to a black screen with a blinking cursor top left and will remain there indefinitely.
I am not an experienced Linux user, and this problem happened when my Ubuntu version upgraded from 9.1 to 10.04.
Ever since this upgrade from Grub to Grub2 my Windows partition does not boot.
Using the Disk Utility program, I can see that my Linux install is on /dev/sdb and my Windows partition is on /dev/sda.
If there is any more information required, then please give clear instructions so that I am able to provide the details, currently I know how to run a terminal and use sudo to run certain commands, but my knowledge of linux does not go much further than this.
|
Fri 02 Jul 2010 12:50:29 PM UTC, comment #15:
Guess not...
|
Wed 30 Jun 2010 03:13:24 PM UTC, comment #14:
I have no clue what bzr trunk is. Can you be more elaborate?
|
Mon 28 Jun 2010 09:42:24 PM UTC, comment #13:
That's French for me, I am just a Linux user.
|
Mon 28 Jun 2010 07:02:04 PM UTC, comment #12:
it's in bzr trunk
|
Mon 28 Jun 2010 03:58:31 PM UTC, comment #11:
We've discovered a bug in biosdisk. Can you retest?
|
Sun 13 Jun 2010 05:29:30 PM UTC, comment #10:
1. ls (hd1,1)
Partition hd1,1: Filesystem type ntfs, 5a9c03999c036eb7
then boot froze
2. boot froze.
|
Fri 11 Jun 2010 08:11:36 PM UTC, comment #9:
I see following possibilities:
1) problem with detecting windows drive. Can you try in grub console:
ls (hd1,1)/
and check if it's your windows disk. Then try booting using following commands:
root=(hd1,1)
drivemap -s (hd0) (hd1)
chainloader (hd1,1)+1
boot
2) For some reason you need to boot using MBR on your computer. Try:
root=(hd1,1)
drivemap -s (hd0) (hd1)
chainloader (hd1)+1
boot
3) A problem with drivemap (e.g. because of some pecularity of your BIOS). Try first and second config w/o drivemap line.
I hope it's not (3) because windows needs drivemap to boot from non-first drive except perhaps when using experimental 'ntldr' feature. If it's the case I'll make some patches to collect information about that failure
|
Tue 08 Jun 2010 09:54:17 PM UTC, comment #8:
I missed the point where information was requested and I refused to provide. What kind of information do you want for pinpointing?
I've provided grub.cfg Windows section, what else?
~$ sudo fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00054862
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 2576 20480000 83 Linux
/dev/sda3 2576 3098 4194304 82 Linux swap / Solaris
/dev/sda4 3099 19457 131403667+ 5 Extended
/dev/sda5 3099 19457 131402752 83 Linux
~$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x20202020
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 38912 312560608+ 7 HPFS/NTFS
|
Tue 08 Jun 2010 01:30:11 PM UTC, comment #7:
By you not willing to collaborate in pinpointing the problem in your system you shoot yourself in the foot.
|
Tue 08 Jun 2010 12:44:41 PM UTC, comment #6:
Bashing users will leave you with no guinea pigs.
Remember dude, I don't 'mess'. I manage campus network where machines get installed from scratch and locked from any kind of super-user access. The distro does that, are you getting it? You've made your software so complex, that the packagers are unable to catch up and properly script an install.
If you are not getting the fact that this is the most rudimentally simple install, where each OS resides on its own HDD, and grub2 still won't dual boot, you need a different hobby.
|
Mon 07 Jun 2010 08:19:58 PM UTC, comment #5:
Bashing devs won't help you any bit. Reason why bugs are unassigned is because if someone comes up with a fix he closes the bugs and doesn't assign it. Bug assignment is only for bugs needing a lot of changes. In your case I just have no idea off the top of my head and no time to think of it. Very similar configs are reported to work. The only thing which is special in your config is drivemap. Unless, of course, you failed to report that you have messed up with boot sequence (like installing an "activation crack"). You can try to remove 'drivemap' and see the difference. Try the following config:
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
set root='(hd1)'
drivemap -s (hd0) ${root}
chainloader +1
}
Next time bashing the devs can get your bugreport flagged as spam because at that point it will contain more complaints that useful info.
|
Sun 30 May 2010 12:45:46 AM UTC, comment #4:
I pride myself with not asking simple questions.
If it was simple, I would not be wasting time here, and would have just used one of the thousands solutions offered by google for a query 'grub cannot boot windows' (that's for your stab at me regarding 'my system only' affected).
The problem is not that os-probe can't detect Windows - it can and always does.
The problem is that grub still refuses to boot Windows after that. Here at ya:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 5a9c03999c036eb7
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
|
Fri 28 May 2010 07:49:22 PM UTC, comment #3:
> And lastly, I am sick and tired of smart asses whose only
> contribution is to state that 'I am doing something wrong' w/o
> being specific as to what exactly that 'something' is.
I guess you prefer the way such situation is handled by other projects: silently closing of 80%-probability invalid bugreport. With os-prober installed and after running update-grub both debian sid and ubuntu lucid lynx detect windows with no problem the only 2 exceptions we've seen so far is either uncleanly unmounted NTFS partition and distribution not being sufficiently up-to-date.
sudo aptitude update
sudo aptitude upgrade
sudo aptitude install os-prober
sudo update-grub
solve most problems.
Your report of Ubuntu not being able to detect windows is moot as the issue seems to affect only your system. If you want to convince me that I'm wrong at very least supply the needed information as you partition table (fdisk -ul <disk>), mount points (mount), log of attempts to mount windows partitions (mount <disk> <mountpoint>) and grub.cfg file.
|
Thu 27 May 2010 08:47:57 PM UTC, comment #2:
I think that your configfile is at cause. Don't create the config manually but do:
sudo aptitude install os-prober
sudo update-grub
|
Thu 27 May 2010 08:39:52 PM UTC, comment #1:
I've configured multiboot with Linux and XP on several machines using i845 chipsets. The one I still have (Dell motherboard manufactured by Foxconn) has 14 Linux distros in addition to XP and DOS on a single PATA. Grub legacy is installed on one /boot and all / partitions. MBR contains generic code. 'chainloader (hd0,2)+1' boots the NTLDR menu to start either of DOS or XP just fine. If you can't boot XP from Grub legacy, you're doing something wrong, not Grub.
|
Thu 27 May 2010 06:34:26 PM UTC, original submission:
I have Ubuntu 9, now 10 on IDE HDD set in BIOS to boot from. GRUB is installed by default from the distro setup in the boot record of this HDD.
Windows is on the SATA HDD. I can boot into Windows thru BIOS menu, but when trying to boot from GRUB menu the screen goes blank, there is a cursor in the top left corner and the system is frozen. Can only reboot with a reset button.
All that runs on a MSI motherboard with i845 chipset, IDE HDD attached to primary master, SATA attached to SII 8512 SATA card.
This exact behaviour continues since I used legacy grub under Fedora 11 and 12 and Centos 5. Under all distros the default options selected at setup will install grub and add linux and windows menue items, of which only linux will boot.
Using solution from FAQ to swap boot devices was not possible, as the install already inserted those two lines into the config files. You really have to do something with windows boot, this has been dragging for too effin long.
|