LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installed Puppy Linux with WinXP, now can't boot WinXP (https://www.linuxquestions.org/questions/linux-newbie-8/installed-puppy-linux-with-winxp-now-cant-boot-winxp-930736/)

rockyourteeth 02-22-2012 01:08 PM

Installed Puppy Linux with WinXP, now can't boot WinXP
 
So, I have a netbook (HP Mini 110) running Windows XP that was kind of slow, so I used the Linux Universal Installer to download Puppy Linux. I installed it fine with a USB, then partitioned the hard drive to share it with XP. Puppy Linux is installed and running fine, but now I can't get XP to boot up. It just hangs after I try to use the Grub to run Win XP.

It says this, and then doesn't do anything:

Code:

rootnoverify (hd0,0)
chainloader +1

So here's a bunch of information that someone on another thread asked me for, but I've yet to be able to solve the problem. Any help would be sooooooo greatly appreciated. Thanks!

Here's my menu.lst

Code:

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'.  Sun Feb 19 01:05:44 2012
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.12979'.  You can restore it like this.
# dd if=/boot/grub/mbr.sda.12979 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Linux bootable partition config begins
  title Linux (on /dev/sda2)
  rootnoverify (hd0,1)
  kernel /puppy420/vmlinuz root=/dev/sda2 ro vga=normal
  initrd /puppy420/initrd.gz
# Linux bootable partition config ends
# Other bootable partition config begins
  title WinXP (on /dev/sdb1)
  rootnoverify (hd0,0)
  chainloader +1
  boot
# Other bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title -    For help press 'c', then type: 'help'
root (hd0)
title -    For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)

Here's the result of fdisk -l

Code:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot    Start        End            Blocks        Id          System
/dev/sda1  *        2      18174    145974622+        7    HPFS/NTFS
/dev/sda2      18175      19457      10305697+        83    Linux

Here's the Boot_info_script:

Code:

Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the
    same drive in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: __________________________________________________________________________

    File system:      ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  According to the info in the boot sector, sda1 starts
                      at sector 2048. But according to the info from fdisk,
                      sda1 starts at sector 16065.
    Operating System:  Windows XP
    Boot files:        /boot.ini /bootmgr /Boot/BCD /NTLDR /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:      ext3
    Boot sector type:  Grub Legacy
    Boot sector info:  Grub Legacy (v0.97) is installed in the boot sector
                      of sda2 and looks at sector 311004094 of the same hard
                      drive for the stage2 file.  A stage2 file is at this
                      location on /dev/sda.  Stage2 looks on partition #2
                      for /boot/grub/menu.lst.
    Operating System:  Puppy Linux Linux 2.6.21.7
                      [i686 arch]
    Boot files:        /boot/grub/menu.lst

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes


Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *        16,065  291,965,309  291,949,245  7 NTFS / exFAT / HPFS
/dev/sda2        291,965,310  312,576,704    20,611,395  83 Linux


"blkid" output: ________________________________________________________________

Device          UUID                                  TYPE      LABEL

/dev/sda1        F624495B2449204B                      ntfs     
/dev/sda2        d6103f32-c505-4189-8ad6-96d44c49d23b  ext3     

================================ Mount points: =================================

Device          Mount_Point              Type      Options

/dev/loop0      /initrd/pup_ro2          squashfs  (ro,noatime)
/dev/sda2        /initrd/pup_rw          ext3      (rw,data=ordered)


 sda1/boot.ini:

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptOut
--------------------------------------------------------------------------------

 sda2/boot/grub/menu.lst:

--------------------------------------------------------------------------------
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'.  Sun Feb 19 01:05:44 2012
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.12979'.  You can restore it like this.
# dd if=/boot/grub/mbr.sda.12979 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
gfxmenu /boot/grub/deep_stage1
# End GRUB global section
# Linux bootable partition config begins
  title Linux (on /dev/sda2)
  rootnoverify (hd0,1)
  kernel /puppy420/vmlinuz root=/dev/sda2 ro vga=normal
  initrd /puppy420/initrd.gz
# Linux bootable partition config ends
# Other bootable partition config begins
  title WinXP (on /dev/sda1)
  rootnoverify (hd0,0)
  chainloader +1
# Other bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title -    For help press 'c', then type: 'help'
root (hd0)
title -    For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
--------------------------------------------------------------------------------

 sda2: Location of files loaded by Grub: =

          GiB - GB            File                                Fragment(s)

            ?? = ??            boot/grub/menu.lst
            ?? = ??            boot/grub/stage2

========= Devices which don't seem to have a corresponding hard drive: =========

hda hdb hdc hdd sde sdf sdg sdh sdi

=============================== StdErr Messages: ===============================

/root/my-documents/boot_info_script.sh: line 2571: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2553: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2554: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2553: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2554: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2553: printf: -v: invalid option
printf: usage: printf format [arguments]
/root/my-documents/boot_info_script.sh: line 2554: printf: -v: invalid option
printf: usage: printf format [arguments]

And this is the boot sector:

Code:

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <>


Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
 1 * HPFS - NTFS              1  0  1 18173 254 63  291949245
Boot sector                        Backup boot sector
0000 eb52904e 54465320  .R.NTFS  c095bada 45787ea6  ....Ex~.
0008 20202000 02080000      .....  e915ff6d 2f862e3f  ...m/..?
0010 00000000 00f80000  ........  76c85e0d 034c57c0  v.^..LW.
0018 3f00ff00 00080000  ?.......  39ef4806 93e2c379  9.H....y
0020 00000000 80008000  ........  6539ab46 e89b9b85  e9.F....
0028 b0ca6611 00000000  ..f.....  23dd0b31 1d1bb375  #..1...u
0030 00000c00 00000000  ........  628db71d 0b4ed9aa  b....N..
0038 ffa76100 00000000  ..a.....  34357223 30ae288e  45r#0.(.
0040 f6000000 01000000  ........  aa883a88 65a56779  ..:.e.gy
0048 4b204924 5b4924f6  K I$[I$.  04ce525c 3202dec8  ..R\2...
0050 00000000 fa33c08e  .....3..  11e70ff8 924da13b  .....M.;
0058 d0bc007c fb68c007  ...|.h..  802c6a8e 3b701f1a  .,j.;p..
0060 1f1e6866 00cb8816  ..hf....  eaf2614f 42ce3797  ..aOB.7.
0068 0e006681 3e03004e  ..f.>..N  1a752a0a ecc608e1  .u*.....
0070 54465375 15b441bb  TFSu..A.  3d997d76 4144ae9d  =.}vAD..
0078 aa55cd13 720c81fb  .U..r...  d0fcd4ad d3b4a22e  ........
0080 55aa7506 f7c10100  U.u.....  d75b4414 a1c84695  .[D...F.
0088 7503e9d2 001e83ec  u.......  cbe8ff37 3925ea9e  ...79%..
0090 18681a00 b4488a16  .h...H..  eb1266bb 9e5ba3d9  ..f..[..
0098 0e008bf4 161fcd13  ........  3a4f5154 7242eff1  :OQTrB..
00A0 9f83c418 9e581f72  .....X.r  74326512 680b0842  t2e.h..B
00A8 e13b060b 0075dba3  .;...u..  4f208cf3 d75ca13d  O ...\.=
00B0 0f00c12e 0f00041e  ........  41e01232 0b7d0c88  A..2.}..
00B8 5a33dbb9 00202bc8  Z3... +.  4b0f1de1 81c4fc2b  K......+
00C0 66ff0611 0003160f  f.......  9d4e1587 611401de  .N..a...
00C8 008ec2ff 061600e8  ........  0b0d2284 310d298e  ..".1.).
00D0 40002bc8 77efb800  @.+.w...  70cd2177 cf3e85fb  p.!w.>..
00D8 bbcd1a66 23c0752d  ...f#.u-  1d8b6520 f0e4c8bb  ..e ....
00E0 6681fb54 43504175  f..TCPAu  9252ca97 89cb2ba3  .R....+.
00E8 2481f902 01721e16  $....r..  fdc1f913 ab75e6ba  .....u..
00F0 6807bb16 68700e16  h...hp..  6247b004 e9f581ec  bG......
00F8 68090066 53665366  h..fSfSf  454a3966 d5f9cfab  EJ9f....
0100 55161616 68b80166  U...h..f  d0e864a6 59536542  ..d.YSeB
0108 610e07cd 1ae96a01  a.....j.  71da1ddc 206b88f8  q... k..
0110 90906660 1e0666a1  ..f`..f.  03c89d7f 8db5f035  .......5
0118 11006603 061c001e  ..f.....  a18b8c4f c21582d0  ...O....
0120 66680000 00006650  fh....fP  39b5e74d 08fd9ef0  9..M....
0128 06536801 00681000  .Sh..h..  bb3a31f5 ceea4150  .:1...AP
0130 b4428a16 0e00161f  .B......  1e73b53b d62a88a1  .s.;.*..
0138 8bf4cd13 66595b5a  ....fY[Z  04ba12f2 a1534a36  .....SJ6
0140 66596659 1f0f8216  fYfY....  90ddb54f d076d872  ...O.v.r
0148 0066ff06 11000316  .f......  ddc8af9d a73299ff  .....2..
0150 0f008ec2 ff0e1600  ........  322df025 5a912400  2-.%Z.$.
0158 75bc071f 6661c3a0  u...fa..  b4136146 db1e4745  ..aF..GE
0160 f801e808 00a0fb01  ........  0c6ac9ee b5fae7cb  .j......
0168 e80200eb feb4018b  ........  2db2d920 c144f854  -.. .D.T
0170 f0ac3c00 7409b40e  ..<.t...  93ecb996 266d6322  ....&mc"
0178 bb0700cd 10ebf2c3  ........  0e689b80 6d2afab6  .h..m*..
0180 0d0a4120 6469736b  ..A disk  9a02869f a45f6566  ....._ef
0188 20726561 64206572    read er  8b78bf14 358dd505  .x..5...
0190 726f7220 6f636375  ror occu  cd223515 74897189  ."5.t.q.
0198 72726564 000d0a42  rred...B  52b706e1 218a2af8  R...!.*.
01A0 4f4f544d 47522069  OOTMGR i  2114496a aabe134e  !.Ij...N
01A8 73206d69 7373696e  s missin  f2a68e0b 5ca366d0  ....\.f.
01B0 67000d0a 424f4f54  g...BOOT  89b208f8 cab9b27e  .......~
01B8 4d475220 69732063  MGR is c  8c18e77d e7b3d4b6  ...}....
01C0 6f6d7072 65737365  ompresse  8b35e518 9b47f9b9  .5...G..
01C8 64000d0a 50726573  d...Pres  6887cc95 7e044105  h...~.A.
01D0 73204374 726c2b41  s Ctrl+A  6c4c08fa f3e7ff46  lL.....F
01D8 6c742b44 656c2074  lt+Del t  e131b972 b4c621d0  .1.r..!.
01E0 6f207265 73746172  o restar  af710730 1f91dbaa  .q.0....
01E8 740d0a00 00000000  t.......  c35b1c96 21f6336f  .[..!.3o
01F0 00000000 00000000  ........  227f5b11 0da1067b  ".[....{
01F8 809db2ca 000055aa  ......U.  8f23a054 6ebf0154  .#.Tn..T
0198 72726564 000d0a42  rred...B  52b706e1 218a2af8  R...!.*.
 [Previous] >[  Next  ]  [  Quit  ]


lemonslol 02-22-2012 01:37 PM

You should try updating grub

Code:

sudo update-grub
and then
Code:

sudo grub-reboot X

uhelp 02-22-2012 01:46 PM

And not so unimportant information would be: What does Windows say?

lemonslol 02-22-2012 01:48 PM

Quote:

Originally Posted by uhelp (Post 4609430)
And not so unimportant information would be: What does Windows say?

I don't think he can boot into window$, if I was him i'd honestly not worry about fixing it

EDDY1 02-22-2012 02:22 PM

Quote:

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 2048. But according to the info from fdisk,
sda1 starts at sector 16065.
Operating System: Windows XP
Boot files: /boot.ini /bootmgr /Boot/BCD /NTLDR /NTDETECT.COM
Did you erase the first partition or System Recovery for windows?

rockyourteeth 02-22-2012 03:05 PM

Quote:

Originally Posted by lemonslol (Post 4609432)
I don't think he can boot into window$, if I was him i'd honestly not worry about fixing it

You're right. That's the whole problem.

I can't give up on windows because there is a lot of windows specific software that I use. I just wanted to have Linux dual booted to make my everyday web browsing faster.

Before any of this, there was only one partition. Then I used gparted to partition. But somehow that created one extra (small) partition (3 total) that is now unallocated. Might that be the problem?

Lemonslol, I'll try what you suggested and get back to you.

Thanks everyone.

EDDY1 02-22-2012 03:43 PM

You havent erased your main partition that has all of your data or documents on it. You can mount the partition in linux & copy all important data then try a repair install, but then you'll have to fix your grub.
Also some of the software also stores the actual packages for reinsatllation if you didn't delete them, all you'll need are the keys which you may be able to get using something like magic jelly bean.

rockyourteeth 02-22-2012 03:47 PM

No, I can still access all my files on both partitions. Even the boot files. But they're just wrong apparently.

Also, another problem, I don't have the original windows cd to try to run a recovery from.

EDDY1 02-22-2012 03:58 PM

I have a windows vista/7 recovery iso, for some reason they're discontinued actually they started charging for them.
Maybe someone can tell me how to send it, to you.
I hope I didn't break any rules by offering.

rockyourteeth 02-22-2012 04:00 PM

thanks for offering. I'm trying to figure out how to run the recovery console from a bootable USB. hopefully that works.

and, I have windows XP, so I don't know if that would work.

EDDY1 02-22-2012 04:14 PM

Your system is windows xp?
That's a good thing it's reinstallable from the i386 folderso you don't need a recovery cd.
Winnt32.exe is the file to startup unless you have 64bit

EDDY1 02-22-2012 04:28 PM

Befor eI would perfom tis I would backup my system to another drive with something like clonezilla
http://www.easydesksoftware.com/i386.htm
http://www.wikihow.com/Reinstall-Win...Without-the-CD

rockyourteeth 02-22-2012 05:02 PM

Quote:

Originally Posted by lemonslol (Post 4609424)
You should try updating grub

Code:

sudo update-grub
and then
Code:

sudo grub-reboot X

lemonslol, where exactly do I input this?

EDDY1 02-22-2012 06:33 PM

Quote:

lemonslol, where exactly do I input this?
That command would be done in a terminal.

lemonslol 02-22-2012 07:32 PM

Quote:

Originally Posted by rockyourteeth (Post 4609587)
lemonslol, where exactly do I input this?

You do it in terminal, and then you reboot your computer afterwords


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