News:

Who uses forums anymore?

Main Menu

Partcopying a CD bootsector?

Started by Joe, September 21, 2005, 07:00:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joe

I can't find any good documentation on partcopy. Anyhow, I want to copy sector 0 (thats 1 for non-zero-based literate people =p) to a file, for.. educational purposes.

Can anyone help?
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


MyndFyre

Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Joe

Eh, I've always used partcopy for writing/reading single sectors. I'll check it out tomorrow after school. Thanks MyndFyre!
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


mfqr

excuse me for intruding, but since this is concerning a bootsector, shouldnt this be in the OS dev forums?

MyndFyre

Who said it's about OS Development?  He just wants to read a bootsector.

FYI Joe, the CD ROM bootsector will be identical to a floppy disk bootsector; the boot code to enable CD ROM booting is in the BIOS.

dd is good for reading/writing to any block device.  I basically dd'd with if=/dev/hda to copy my entire hard drive, MBR and everything.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

mfqr

oh i thought he wanted to write his own boot sector to a floppy...

Joe

Well, this is OS Development, to a degree. I'm disassembling the Windows XP bootloader to see how it works. =)
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


MyndFyre

Why not just load up the ntldr file?
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.