Click here to Skip to main content
16,015,635 members
Home / Discussions / System Admin
   

System Admin

 
GeneralUpgrading home WinXP to professional WinXP Pin
rsasalm_30-Jul-02 1:51
rsasalm_30-Jul-02 1:51 
GeneralXP, svchost, and helpsvc Pin
Marc Clifton28-Jul-02 8:27
mvaMarc Clifton28-Jul-02 8:27 
GeneralRe: XP, svchost, and helpsvc Pin
Venet29-Jul-02 1:04
Venet29-Jul-02 1:04 
GeneralRe: XP, svchost, and helpsvc Pin
Marc Clifton30-Jul-02 14:15
mvaMarc Clifton30-Jul-02 14:15 
GeneralFixed... yet another query Pin
sultan_of_6string28-Jul-02 4:01
sultan_of_6string28-Jul-02 4:01 
GeneralRe: Fixed... yet another query Pin
Venet28-Jul-02 5:38
Venet28-Jul-02 5:38 
GeneralRe: Fixed... yet another query Pin
sultan_of_6string28-Jul-02 6:06
sultan_of_6string28-Jul-02 6:06 
GeneralRe: Fixed... yet another query Pin
Venet28-Jul-02 7:45
Venet28-Jul-02 7:45 
sultan_of_6string wrote:
I've read about this stuff of copying the first 512 bytes, but it doesn't seem to make sense. Won't it corrupt my NTFS partition?

Nope, it won't. You are copying 512 bytes of secondary partition.

To do this:

boot up in linux. If you're running X-Windows open console (as root) and type

dd if=/dev/hda2 of=/tmp/bootsect.lnx bs=512 count=1
(provided /dev/hda2 is your linux partiton, if you have separate hard disk, it might be /dev/hdb1)

This will copy the boot sector of the linux partition.

Now, copy this file onto a floppy disk

Provided that floppy disk is mounted in /mnt/floppy execute the following

cp /tmp/bootsect.lnx /mnt/floppy or

mount -t vfat /dev/fd0 /mnt/floppy
if floppy is not mounted.
(in here make sure /mnt/floppy directory exists)

Boot in WinXP

Copy bootsect.lnx from floppy to the C:\

Open boot.ini file.

It should look something like:
-----------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows 2000 Professional"
-------------------------------

Add this line to the end of boot.ini

C:\BOOTSECT.LNX="Linux Rocks"

Save and Close.

That's it, reboot your WinXP and there ya go. Smile | :)

Note: This assumes that you've installed lilo on your secondary partition. For how to do that, you might want to read lilo man page.

Smile | :) Smile | :) Smile | :) Smile | :)



Regards,
Venet.

--------
Black holes are where God divided by zero.(Steven Wright)
GeneralRe: Fixed... yet another query Pin
sultan_of_6string28-Jul-02 8:39
sultan_of_6string28-Jul-02 8:39 
GeneralRe: Fixed... yet another query Pin
Venet29-Jul-02 1:02
Venet29-Jul-02 1:02 
GeneralRe: Fixed... yet another query Pin
Anonymous29-Jul-02 7:04
Anonymous29-Jul-02 7:04 
GeneralRed Had Linux screwed XP Pin
sultan_of_6string27-Jul-02 5:37
sultan_of_6string27-Jul-02 5:37 
GeneralRe: Red Had Linux screwed XP Pin
Anonymous29-Jul-02 9:13
Anonymous29-Jul-02 9:13 
GeneralRe: Red Had Linux screwed XP Pin
Nemanja Trifunovic29-Jul-02 9:35
Nemanja Trifunovic29-Jul-02 9:35 
GeneralRe: Red Had Linux screwed XP Pin
Jason Hihn2-Aug-02 6:55
Jason Hihn2-Aug-02 6:55 
GeneralICS and SMTP problem... Pin
Rocky Moore26-Jul-02 17:13
Rocky Moore26-Jul-02 17:13 
GeneralRe: ICS and SMTP problem... Pin
Venet26-Jul-02 21:20
Venet26-Jul-02 21:20 
QuestionHow to get server system time? Pin
Tida25-Jul-02 11:06
Tida25-Jul-02 11:06 
GeneralBackground image under solaris. Pin
Williams23-Jul-02 8:08
Williams23-Jul-02 8:08 
GeneralOpen .eml from Intranet Pin
peterchen22-Jul-02 5:45
peterchen22-Jul-02 5:45 
GeneralRe: Open .eml from Intranet Pin
Frank Deo22-Jul-02 6:06
Frank Deo22-Jul-02 6:06 
GeneralRe: Open .eml from Intranet Pin
peterchen22-Jul-02 12:23
peterchen22-Jul-02 12:23 
GeneralGee, thanks Microsoft Pin
JohnnyNin21-Jul-02 18:07
JohnnyNin21-Jul-02 18:07 
GeneralRe: Gee, thanks Microsoft Pin
Daniel Turini22-Jul-02 6:25
Daniel Turini22-Jul-02 6:25 
GeneralRe: Gee, thanks Microsoft Pin
Venet23-Jul-02 1:26
Venet23-Jul-02 1:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.