- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Dual boot problem debian-windows, strange case
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 11:37 AM
тАО03-17-2008 11:37 AM
I have installed debian/lenny in dual boot with win/xp ( many times in last 3,5 years ).
Today I installed it again and during installation I got an message "...it seems that it is only os ...blala " but I said ok, it is not problem I will set up it in /boot/grub/menu.lst
I did it many times before.
But today I have some strange situation.
fdisk -l has output:
fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x18d818d7
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1044 8385898+ 7 HPFS/NTFS
/dev/hda2 1045 2609 12570862+ 7 HPFS/NTFS
/dev/hda3 2610 3217 4883760 83 Linux
/dev/hda4 3218 9729 52307640 5 Extended
/dev/hda5 3218 4190 7815591 83 Linux
/dev/hda6 4191 4676 3903763+ 83 Linux
/dev/hda7 4677 4919 1951866 82 Linux swap / Solaris
/dev/hda8 4920 5114 1566306 83 Linux
/dev/hda9 5115 9729 37069956 83 Linux
in my /boot/grub/menu.lst I have ( last lines regarding booting system ... )
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.22-3-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-3-686 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.22-3-686
title Debian GNU/Linux, kernel 2.6.22-3-686 (single-user mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-3-686 root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.22-3-686
### END DEBIAN AUTOMAGIC KERNELS LIST
title WindowsXP
#rootnoverify (hd0,0)
map (hd2) (hd0)
map (hd0) (hd2)
rootnoverify (hd0,0)
makeactive
#chainloader (hd*,*)+1
chainloader +1
boot
....The part regarding windows I added...
and now when I want to boot into windows I get and message " Grub loading stage 2 Read Error " ...and just hung there :(.
I tried many " tricks", googled, used live cd to install grub into hd0, the grub is installed during installation into MBR.
Please if some one know what to, you will help me a lot if you write it here.
With regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 11:57 AM
тАО03-17-2008 11:57 AM
Re: Dual boot problem debian-windows, strange case
Do you have multiple hard disks installed?
The rest of your posting looks like you only have one disk, hd0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 12:08 PM
тАО03-17-2008 12:08 PM
Re: Dual boot problem debian-windows, strange case
Without map command I also cannot boot into into Win/xp
I installed many times in dual boot linux and windows, but this is very strange for me and I do not know what to do.
Kind regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 01:06 PM
тАО03-17-2008 01:06 PM
Re: Dual boot problem debian-windows, strange case
Are you getting the same error message when booting the XP partition without the map commands?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 01:53 PM
тАО03-17-2008 01:53 PM
Re: Dual boot problem debian-windows, strange case
I tried and without map commands, and in that case I got after chosing to boot win/xp just flash showing following "
Booting 'windows/xp'
rootnoverfy (hd0,0)
makeactive
chainloader +1
Grub loading stage 2.....
And after this message is flashed everything is returned to grub menu, to starting point, and after grub-timeout linux is ready for boot.
I tried with(out) map commands but I cannot solve it to boot into win/xp. This is strange to me, because I did the same proces many times, and everything was simple, to be honest install system is not anything difficult, but sometimes it can be.
kind regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 08:07 PM
тАО03-17-2008 08:07 PM
Solutionhttp://ubuntuforums.org/archive/index.php/t-91050.html
If your most recent install actually wrote grub at the start of the first NTFS partition then you would chainload right back into grub.
This posting may have a cure. I haven't tried it myself-
http://ubuntuforums.org/archive/index.php/t-194340.html
The recovery from backup boot sector is also described here-
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#NTFS_Boot_sector_recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2008 04:33 AM
тАО03-19-2008 04:33 AM
Re: Dual boot problem debian-windows, strange case
Kind regards