|
Home > Archive > Unix Shell > October 2006 > dd command
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| manish 2006-10-19, 1:25 am |
| Hi All
I have Red Hat installed on my PC which was already having Windows XP.
While installing
i didn't install boot-loader ( GRUB ) over MBR but inside the root '/'
partition. Now the /boot direcotory lies inside the root.
I want to copy the boot image , so that i could make an entry into the
NTLDR ( Windows XP default loader ) .
I have been trying to use the dd command but it works only with the
boot partition and doesn't work when i provide it with the option "
-if=/boot/ ".
Any kind of help would be appreciated.
Thanks,
Manish.
| |
| Gary Wessle 2006-10-19, 7:32 am |
| "manish" <manishmodgil@gmail.com> writes:
> Hi All
>
> I have Red Hat installed on my PC which was already having Windows XP.
> While installing
> i didn't install boot-loader ( GRUB ) over MBR but inside the root '/'
> partition. Now the /boot direcotory lies inside the root.
>
> I want to copy the boot image , so that i could make an entry into the
> NTLDR ( Windows XP default loader ) .
> I have been trying to use the dd command but it works only with the
> boot partition and doesn't work when i provide it with the option "
> -if=/boot/ ".
>
> Any kind of help would be appreciated.
>
> Thanks,
> Manish.
I think you have to mount the directory to a mounting point "loop
mount", take a look at this
http://www.linuxquestions.org/quest...ad.php?t=362506
| |
| Bill Marcum 2006-10-19, 1:21 pm |
| On 18 Oct 2006 21:43:38 -0700, manish
<manishmodgil@gmail.com> wrote:
> Hi All
>
> I have Red Hat installed on my PC which was already having Windows XP.
> While installing
> i didn't install boot-loader ( GRUB ) over MBR but inside the root '/'
> partition. Now the /boot direcotory lies inside the root.
>
> I want to copy the boot image , so that i could make an entry into the
> NTLDR ( Windows XP default loader ) .
> I have been trying to use the dd command but it works only with the
> boot partition and doesn't work when i provide it with the option "
> -if=/boot/ ".
>
A directory does not have a boot sector. You want the boot sector of
the partition.
--
BOFH excuse #446:
Mailer-daemon is busy burning your message in hell.
|
|
|
|
|