LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-06-2006, 12:37 PM   #1
pazzport
Member
 
Registered: Dec 2004
Posts: 47

Rep: Reputation: 16
Grub/Dual boot - Windows partition restored via dd won't boot


I am running Ubuntu 5.1 on a dell optiplex GX270. Recently I upgraded the harddrive from the standard 40GB to a 200GB and did the following:

1. Began the Windows XP install process to create a 40 GB partition and completed the first stage of setup so linux would know there is a windows installation
2. Installed Ubuntu on the remainder of the drive
3. Put the old 40GB drive into an external USB drive case and used dd (dd if=/dev/sda2 of=/dev/hda1) to copy it from the USB device to the windows partition (/dev/hda1)

When I reboot and select the windows partion I get the following error:

boot (hd0,0)
Filesystem type unknown partition type 0x7
makeactive
chainloader +1
boot

Since my job requires my PC to be infected with Windows I need to get this up and running. Any suggestions would be greatly appreciated. Thanks in advance.


-- Here is my fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>grub egrub e
proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs defaults 0 0
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

-- Here is my menu from grub:

title Ubuntu, kernel 2.6.12-10-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot

title Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.12-10-386
boot

title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
boot

title Microsoft WindowsXP
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
 
Old 01-06-2006, 01:29 PM   #2
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Try to switch the addressing method of your drive from 'AUTO' to 'LBA' within your BIOS (if this was set to 'AUTO') Maybe this could help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot GRUB - Won't recognize XP partition Travis S Linux - Newbie 3 01-31-2004 11:58 AM
Dual-Boot Windows XP through GRUB Darkstar274 Linux - Software 10 12-07-2003 06:10 PM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 03:54 PM
xp pro and rh7.3 dual boot (grub and partition magic) George_Hong Linux - Software 2 12-09-2002 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:07 AM.

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