LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2012, 07:23 PM   #1
FitBoot
LQ Newbie
 
Registered: Aug 2012
Posts: 24

Rep: Reputation: Disabled
Unhappy New Quandry= Dual Boot XP/Puppy, can't boot XP


Hello all,

Well, all was well. Then I reinstalled Grub4Dos trying to shut down Thunderbird completely (T-Bird is already running but not responding. - So far unsuccessful)

Back to jump street -- dammit!

Unable to boot XP. And, of course, I did not save or record the successful contents of my previous menu.lst or recall the steps I used to get XP previously.

PLEASE, PLEASE help me!

The current data I have:

grub> geometry (hd0)
drive 0x80: C/H/S = 4865/255/63, The number of sectors = 78165360, /dev/sda
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 1, Filesystem type is ext2fs, partition type 0x83

Geometry of (HD1)
grub> geometry (hd1)
drive 0x81: C/H/S = 24321/255/63, The number of sectors = 390721968, /dev/sdb
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 1, Filesystem type unknown, partition type 0x7

fdisk-l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1663 13350016 83 Linux
/dev/sda2 1664 4865 25720065 83 Linux

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 128 1024000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 128 24321 194333408+ 7 HPFS/NTFS


menu.lst
# menu.lst produced by grub4dosconfig-v1.7.2
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

# Windows
# this entry searches Windows on the HDD and boots it up
title Windows XP\nBoot up Windows if installed
errorcheck off
root noverify (hd1,1)
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on

# Frugal installed Puppy

title Lupu 528 (sda1/puppy528)
find --set-root --ignore-floppies --ignore-cd /puppy528/initrd.gz
kernel /puppy528/vmlinuz psubdir=puppy528 pmedia=atahd pfix=fsck
initrd /puppy528/initrd.gz

title Lupu 528 (sda1/puppy528) RAM mode\nBoot up Puppy without pupsave
find --set-root --ignore-floppies --ignore-cd /puppy528/initrd.gz
kernel /puppy528/vmlinuz psubdir=puppy528 pmedia=atahd pfix=ram,fsck
initrd /puppy528/initrd.gz


# Boot from Partition Boot Sector

title Windows XP Pro (had1:PBS) (sda2:PBS)
uuid f5fc15f5-7de1-4832-be5e-f591212f0fbd
chainloader +1

# additionals

title Find Grub2\nBoot up grub2 if installed
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img

title Grub4Dos commandline\n(for experts only)
commandline

title Reboot computer
reboot

title Halt computer
halt


No error messages are displayed at the failed boot, just returns to menu.

Clearly I've made an error perhaps listing which dive/partition from which to boot, but I cannot get to XP.
Please give me one more assist here, and I promise to record all corrected file edits once I get it back (yes, I know, stupid).

Thank you very much!!
 
Old 09-18-2012, 08:21 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The only windows partition you show in fdisk output is on sdb2, the second partition of the second drive. With Grub Legacy, you could map the drives as below. I'm not familiar with Grub4dos so don't know if that would work. Your windows should be on the first drive.

Quote:
title Windows XP
rootnoverify (hd1,1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 09-18-2012, 09:27 PM   #3
FitBoot
LQ Newbie
 
Registered: Aug 2012
Posts: 24

Original Poster
Rep: Reputation: Disabled
Hi Yancek

Thank you for responding.

Made your suggested changes in menu.lst

Error msg:
(hd1,1)
Will boot NTLDR from drive 0x81, patyiyion 0x1(hidden sectors=0x1f4000
(hd1,1)


Thoughts?
 
Old 09-19-2012, 08:37 PM   #4
FitBoot
LQ Newbie
 
Registered: Aug 2012
Posts: 24

Original Poster
Rep: Reputation: Disabled
Unhappy Need Grub4Dos expert - FIX XP startup dual boot puppy

Hello again all,

PLEASE someone with specific expertise w/Grub4Dos as well as fixing the dual boot scenario so I can get back to work.

Again, pleas take a look at my fdisk, geometry, and menu.lst postings above as well as the error message when I tried to implment Yancek's suggestions (which were very kindly offered).

I understand the preference for placing Windoze on the first drive, but the fact is that I got to work fine before, I prefer it on the drive it's on, and I'd just like to get it all back.

Any help here is greatly appreciated. I am looking at the possibility of using UBCD v.5 to possibly help here OR running XP Repair and telling it to fix the XP MBR. If someone can tell me whether either of these is a good option and what to be careful of, I'm listening.

All help invited and deeply appreciated.
Thank you very much!
 
Old 09-19-2012, 11:49 PM   #5
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
grub4dos problem

i am not an expert. ... However try changing you grub4dos xp entry to sdb2 (you have sda2) you have two sata hard drives and xp is on the second drive. The other option is to reinstall grub4dos from puppy linux onto a usb or floppy etc - access it. Hope this helps.
 
Old 09-20-2012, 12:18 AM   #6
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
grub4dos problem

the other thing to consider is, unplugging the first harddrive and windows should boot directly if the mbr is unadulterated by your reinstallation of grub.
 
Old 09-20-2012, 12:41 PM   #7
FitBoot
LQ Newbie
 
Registered: Aug 2012
Posts: 24

Original Poster
Rep: Reputation: Disabled
Unhappy Almost there. . .?

Hi Vigi, So far, good call on the better look at sdb1. Added lines to map where Windoze is

map (hd1,1)
map (hd0, 0)

Good news: it went back to recognizing XP to try and start it (although returned to a prior start screen, so I don't know what's going there as it had most recently simply been trying to log me in w/password, not being able to, then allowing boot with simple click on non-custom user window).
However, I get stop codes telling me there's a problem with hard drive or possibly video drivers, locks up and won't start.

Currently trying to run XP Recovery from disk -- I can get to the C: drive but it does nothing on its own from there. Any ideas what I should consider?

Suggestions? What can I change to get back to the way it used to boot into XP without experiencing some random stop error?

I think I'm almost there; just need a hand getting over the bridge.

Thanks all for your help!
 
Old 09-20-2012, 04:09 PM   #8
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
Smile fixboot

my suggestions..backup all data then disconnect sda drive and windows should boot. If not you have probably loaded grub4dos over the mbr on this drive. You have to restore it, then reconnect sda drive and load grub4dos onto the mbr of sda drive. This way windows should always work on its own..the way $MS insists.
The way my system is setup is i have a 50MB partition sda1 with grub only on it as the boot manager, then each system i install has its own bootloader installed to the / partition.....grub2 or lilo for slackware.
 
Old 09-20-2012, 04:18 PM   #9
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
Smile fixboot

my suggestions..backup all data then disconnect sda drive and windows should boot. If not you have probably loaded grub4dos over the mbr on this drive. You have to restore it, then reconnect sda drive and load grub4dos onto the mbr of sda drive. This way windows should always work on its own..the way $MS insists.
The way my system is setup is i have a 50MB partition sda1 with grub only on it as the boot manager, then each system i install has its own bootloader installed to the / partition.....grub2 or lilo for slackware.
 
  


Reply

Tags
dual boot, grub4dos, xp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Puppy- Dual boot XP: can't boot either FitBoot Linux - Newbie 11 09-12-2012 01:48 PM
[SOLVED] Does anyone know how to dual-boot Puppy 525 using LILO? Robert.Thompson Slackware 32 07-22-2011 01:18 AM
Puppy Xp dual boot Rob83 Linux - Newbie 2 05-26-2010 08:53 PM
Changes required for 1.0x vs. 2.xx puppy dual boot? Jim_B Puppy 3 03-22-2007 11:33 PM
Dual Boot Modem Quandry james91911 Linspire/Freespire 0 12-27-2004 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration