LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-02-2010, 02:29 PM   #16
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649

I think you should post output of fdisk -l /dev/sda
so someone can tell you what's there.
You'll find that xp is most likely still there.
 
Old 12-02-2010, 05:47 PM   #17
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
Quote:
I did try your code,

the results were

Quote:
allen@allen-ThinkPad-X40:~$ sudo grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
A thousand apologies. The fault is mine for not checking what I wrote before posting. I'm sorry for wasting your time.
That should have been
Code:
sudo grub-install (hd0)
sudo update-grub
 
Old 12-02-2010, 06:34 PM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The problem you're experiencing is that you can only have 4 main partitions. When you installed ubuntu it only recognized the first 3 + ubuntu.
 
Old 12-02-2010, 07:30 PM   #19
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Unfortunately you have got some bad (unfortunate) advice in this thread. It's hard to know what you have where now. From Ubuntu (or the liveUSB if you have to), go to sf.net and get, and run, the bootinfoscript. That will create a RESULTS.txt - post that. It will tell us what boot loader code is where, what partitions, ...
We can't help without (correct) data.
 
Old 12-03-2010, 12:10 AM   #20
kyleryner
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Check the link for the Grub tutorial I posted earlier. For reinstalling Grub2, Section 4.G, for updating Grub2, Section 4.C;
To reinstall Grub2, boot into Ubuntu and run the command: sudo grub-install /dev/sda (assuming your hard drive is sda?)
to update Grub2 run the command: sudo update-grub. It is "update-grub" not "grub-update".

I don't use Grub2 so I haven't tried these myself. Might be good to review the tutorial.
@yancek,

I did try to read the very detailed grub tutorial at http://www.dedoimedo.com/computers/grub-2.html.
However Im afraid it's a bit too technical for a newbie like me.. :-).
I can only do a few Sudo commands from the Terminal, anything more and i might do more damage...

I did however from that link, saw another link http://www.dedoimedo.com/computers/d...-7-ubuntu.html on How to Install Windows 7 and Ubuntu side by side (Dual-boot). I find it to be very informative and I think Ill be using that guide sometime soon (even if Im using XP, now Win7)
 
Old 12-03-2010, 12:11 AM   #21
kyleryner
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by impert View Post
A thousand apologies. The fault is mine for not checking what I wrote before posting. I'm sorry for wasting your time.
That should have been
Code:
sudo grub-install (hd0)
sudo update-grub
@impert,

no worries. was able to try the correct command, still no luck though. thanks anyway.
 
Old 12-03-2010, 12:16 AM   #22
kyleryner
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1;4178881
I think you should post output of fdisk -l /dev/sda
so someone can tell you what's there.
You'll find that xp is most likely still there.

The problem you're experiencing is that you can only have 4 main partitions. When you installed ubuntu it only recognized the first 3 + ubuntu.
@Eddy1,

Im sure XP is still there, i can see and access it from within Ubuntu. Its Booting it thats been giving me problems.

As for partitioning, I got lost there. I had 2 Windows Partition (1 XP, 1 Hidden for Recovery) and I CREATED 2 new partitions for Linux (1 EXT, 1 Swap). Didnt know I needed more. I do remember a couple of years ago I managed to dual boot (even triple boot) Ubuntu without all these issues and worrying about partitions etc. (unfortunately i forgot how I did that and it was a few iterations ago of Ubuntu)
 
Old 12-03-2010, 12:18 AM   #23
kyleryner
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Unfortunately you have got some bad (unfortunate) advice in this thread. It's hard to know what you have where now. From Ubuntu (or the liveUSB if you have to), go to sf.net and get, and run, the bootinfoscript. That will create a RESULTS.txt - post that. It will tell us what boot loader code is where, what partitions, ...
We can't help without (correct) data.
@syg00,

Thanks so much for the tip! I did what you said and here is the contents of Results.txt (it's a bit long) ..

Quote:
Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for (,msdos5)/boot/grub.

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda1 and
looks at sector 72659640 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /BOOT.INI /ntldr /NTDETECT.COM

sda2: _________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: Fat32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM /COMMAND.COM

sda3: _________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: _________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda6: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 61,493,039 61,492,977 7 HPFS/NTFS
/dev/sda2 61,493,040 69,945,119 8,452,080 12 Compaq diagnostics
/dev/sda3 69,945,342 78,139,391 8,194,050 5 Extended
/dev/sda5 69,945,344 76,781,567 6,836,224 83 Linux
/dev/sda6 76,783,616 78,139,391 1,355,776 82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 2E88FC8688FC4DB9 ntfs IBM_PRELOAD
/dev/sda2 1B33-0A00 vfat IBM_SERVICE
/dev/sda3: PTTYPE="dos"
/dev/sda5 a35ecd33-bd2d-4281-a0ee-337895fcc5a0 ext4
/dev/sda6 6c153206-3916-4349-b309-d5448e4d3073 swap
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/sda5 / ext4 (rw,errors=remount-ro,commit=600)


================================ 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 Professional" /fastdetect

================================ sda2/boot.ini: ================================

[boot loader]
timeout=0
default=C:\
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\ = "PC-DOS"

=========================== sda5/boot/grub/grub.cfg: ===========================

#
# 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="6"
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,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
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,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
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-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=a35ecd33-bd2d-4281-a0ee-337895fcc5a0 ro splash quiet splash
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
echo 'Loading Linux 2.6.35-23-generic ...'
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=a35ecd33-bd2d-4281-a0ee-337895fcc5a0 ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic
}
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,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=a35ecd33-bd2d-4281-a0ee-337895fcc5a0 ro splash 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,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=a35ecd33-bd2d-4281-a0ee-337895fcc5a0 ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-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,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set a35ecd33-bd2d-4281-a0ee-337895fcc5a0
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2e88fc8688fc4db9
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda2)" {
insmod part_msdos
insmod fat
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 1b33-0a00
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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=a35ecd33-bd2d-4281-a0ee-337895fcc5a0 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=6c153206-3916-4349-b309-d5448e4d3073 none swap sw 0 0

=================== sda5: Location of files loaded by Grub: ===================


36.2GB: boot/grub/core.img
37.2GB: boot/grub/grub.cfg
38.8GB: boot/initrd.img-2.6.35-22-generic
38.8GB: boot/initrd.img-2.6.35-23-generic
38.6GB: boot/vmlinuz-2.6.35-22-generic
36.0GB: boot/vmlinuz-2.6.35-23-generic
38.8GB: initrd.img
38.8GB: initrd.img.old
36.0GB: vmlinuz
38.6GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda3

00000000 5f df 9e 94 8b 5f f3 e6 83 aa 28 0b 80 ad ae 86 |_...._....(.....|
00000010 1b 05 18 d2 87 ac b4 c8 81 e9 47 5c da b3 ad 9d |..........G\....|
00000020 55 b8 bf 68 62 ff 2b 71 2e e9 ff a0 51 97 52 92 |U..hb.+q....Q.R.|
00000030 9c 9d 25 1f cd 47 e2 83 a7 9e 9e 08 5f 85 09 a5 |..%..G......_...|
00000040 b0 bb 4e 16 6a bd 47 4b ad 57 91 e7 d0 4a 6f b0 |..N.j.GK.W...Jo.|
00000050 ad ba 9e 27 30 6b 0a 6a 77 2f c7 41 7d 3d 97 7e |...'0k.jw/.A}=.~|
00000060 71 cc 43 a1 5c d4 4d 2f 9f ff 01 c4 85 bc d1 b0 |q.C.\.M/........|
00000070 41 63 a6 8e fb bc 3b 68 d5 02 ed b3 9b 13 68 ac |Ac....;h......h.|
00000080 99 44 26 bc da 20 a3 7f 90 22 63 d3 b1 d6 6a b8 |.D&.. ..."c...j.|
00000090 9d 66 14 34 c6 83 49 9d c7 dd 27 5e c0 76 55 7a |.f.4..I...'^.vUz|
000000a0 e1 a2 40 f2 ac 68 1f 17 f2 48 de b8 6a b1 25 4f |..@..h...H..j.%O|
000000b0 fe 18 7d 1d 38 a4 a1 f9 5e 3b 9f ba 47 f4 14 34 |..}.8...^;..G..4|
000000c0 5d 2f 1b 3f 98 20 d9 d9 48 6d 41 0b ca e8 0b 8e |]/.?. ..HmA.....|
000000d0 ae 97 14 ed c8 4a 20 94 7a d9 43 12 4a a1 74 0f |.....J .z.C.J.t.|
000000e0 fb 8c 00 d4 ba b4 cb 80 f3 29 98 84 dd 52 b0 88 |.........)...R..|
000000f0 23 60 9b c7 60 50 28 0d 4e f6 2a a1 e2 b4 7b 81 |#`..`P(.N.*...{.|
00000100 7e c3 77 35 90 40 75 c6 49 1a ab 4c 7b 37 ee 54 |~.w5.@u.I..L{7.T|
00000110 ba a9 9e 86 c2 40 84 e1 55 6f 8e 67 05 8f c3 2f |.....@..Uo.g.../|
00000120 70 51 fd 9f fe 33 d4 17 30 da 68 48 22 68 29 6e |pQ...3..0.hH"h)n|
00000130 1c d7 5b 90 4f b4 a0 1c 6b 75 36 e0 5c 96 fe 42 |..[.O...ku6.\..B|
00000140 86 26 76 3c 69 f5 19 94 2b c2 48 d9 8c 38 e5 f1 |.&v<i...+.H..8..|
00000150 d5 a6 a9 e8 5e 11 ae 08 ca 14 fc 76 e9 4a e2 07 |....^......v.J..|
00000160 57 fd 97 f8 80 00 32 f6 38 3f 60 8f 39 e9 51 30 |W.....2.8?`.9.Q0|
00000170 7f 64 8f 97 37 f2 4a ed b1 fb 90 12 ff 6a 67 5c |.d..7.J......jg\|
00000180 b4 5d 83 9f 4e 85 b0 97 ad 8b 76 9a 74 b6 6a d3 |.]..N.....v.t.j.|
00000190 c2 dc 3e 72 7f c2 4a c7 87 a3 9a 84 b0 56 e4 d6 |..>r..J......V..|
000001a0 13 5e da 03 20 18 50 e1 70 75 1c 4b 06 95 88 9c |.^.. .P.pu.K....|
000001b0 d4 e7 b8 4f a0 5b 56 f1 7d f4 14 91 c8 68 00 fe |...O.[V.}....h..|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 50 68 00 00 fe |...........Ph...|
000001d0 ff ff 05 fe ff ff 02 50 68 00 00 b8 14 00 00 00 |.......Ph.......|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
hope that helps...
 
Old 12-03-2010, 01:01 AM   #24
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
This is my output of fdisk and I only have 2 os'es

Quote:
root@debianperfectionplus:/home/topgun# 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: 0xbace8ac7

Device Boot Start End Blocks Id System
/dev/sda1 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 6375 51097600 7 HPFS/NTFS
/dev/sda3 6375 19458 105088001 5 Extended
/dev/sda5 * 6375 6417 340992 83 Linux
/dev/sda6 6417 7511 8787968 83 Linux
/dev/sda7 7512 7876 2928640 83 Linux
/dev/sda8 7876 8379 4034560 82 Linux swap / Solaris
/dev/sda9 8379 8427 389120 83 Linux
/dev/sda10 8427 19458 88601600 83 Linux
I basically have 3 primary partitions 2 of them were for windows if I add another wins it would have to be in my extended because it'll create 2 more primary partitions and you can only have 4

Last edited by EDDY1; 12-03-2010 at 01:07 AM.
 
Old 12-03-2010, 04:00 AM   #25
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Looking at that, your XP system is gone. Somehow, you (or the installer) has installed grub2 to the XP partition. That ain't ever going to work - except wubi maybe, but I've never tried it.

Simple fixes (fixboot/fixmbr) aren't going to be sufficeient to fix this - you'll need to re-install XP. And then fix grub2 probably - it's a better boot-loader than M$oft.
 
Old 12-03-2010, 06:50 AM   #26
kyleryner
LQ Newbie
 
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 0
SUCCESS!!

I managed to fix my dual-boot problem!

This is what happened:

From my very first post, I had an idea that the problem is the Ubuntu Install messed Window's MBR. Research showed the solution is to boot to Windows CD and use Recovery Console. Problem is I dont have a CD drive in the laptop. (at the same time, since Im not 100% sure that was the problem, I thought it could be a GRUB or Linux Partition issue)

I was looking for Linux-fixes that will fix Windows MBR without the need for Windows CD. There were some promising fixes I read (installing MS-SYS, SuperGrub2 etc) but it seemed what I read was outdated or Im back with the no-cd drive problem.

Along the way I tried everything that anyone can suggest to me.

Some of the tips here actually helped me arrive at the conclusion that my first thought was right: i just need to fix it if i can only access Windows Recovery.

(for example, the Grub Tutorial guide posted here showed me a guide on how to dual boot Windows and Ubuntu. The guide actually showed step by step what procedures to do.. and STILL THE GUIDE SHOWED WINDOWS WONT BOOT. "Dont Panic!!" , the guide says, simple solution pop in Windows Recovery CD and it will fix it! (Unfortunately the guide didnt show us how to do that if the laptop doesnt have a CD drive)

So I searched "How to boot Windows Recovery from USB" and similar searches.

The results were few, and have DIFFERENT approaches, some very complicated, some not so. Many need you to use the Windows Setup CDs (which I'll have to dig up), some need BARTPE, some requires you to boot to a CDDrive (in a PC), some just needs to access the i386 folder, and then finally I found this site:

Creating a USB bootable XP recovery console

It was easy to follow, required only a small download file, and I was done in a few minutes!
(it didnt need or ask for the Windows CD or i386 folders). Took up little space in the USB disk.) Booted my laptop successfully, it entered windows recovery console and ended in a Command Prompt (I was expecting a windows GUI, but I guess its more like a command line interface) I typed "FIXBOOT" and in 1 second it says its FIXED! Rebooted, I still have GRUB2 as the loader, chose Windows XP and it BOOTED!! Yaaaayyy!!

LOL! It was that EASY and FAST and it took me several days to figure it out!

I am just wondering why there is no LINUX script that can do the same thing, figure out where
Windows OS is, get the Boot info and rewrite the MBR.. from what i've seen, this problem pops up more often than you think...

Anyway, it seems the final solution seemed to be Windows-related and not really Linux issue. I just thought there was something that could be done from within Linux.

I'll be marking this thread as SOLVED and I typed up all of this in case some poor noob in the future does a search and maybe stumble here..

I'd like to thank EVERYONE though for their patience and effort in trying to help me here. For me its not about the results, its about the way people try to help you any way they can. For that Im really grateful. LQ is one of the friendliest and helpful forums Ive been in, now that I have both Windows and Ubuntu on my laptop, I think Ill be needing more help soon! :-P

Cheers!
 
Old 12-03-2010, 07:22 AM   #27
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Congrats glad you could resolve that issue.
Success is always nice.

Last edited by EDDY1; 12-03-2010 at 07:29 AM.
 
  


Reply



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
Dual Boot RHEL 5.1 and WinXP, won't load Windoze caspianhiro Linux - Newbie 3 12-11-2007 02:35 PM
Attempted Dual Boot of XP and Fedora. Now MBR will boot straight to Linux.How to fix? mdorries Fedora 7 05-27-2007 06:22 AM
WinXP, FC-5 Dual Boot, Grub failing to load FC-5 (can't mount selected partition) rcmpsc Fedora 4 09-21-2006 09:53 AM
MBR with WinXP and Linux Dual Boot Ruined...! truhuska Linux - Newbie 7 04-29-2004 11:49 PM

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

All times are GMT -5. The time now is 08:29 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