[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - windows question

windows question

UNIX/Linux System Administration

windows question

Postby Leif Husman on Sun Dec 14, 2008 12:48 am

I'm trying to back up my windows to make more room for linux. I'm basically going to have to move my windows partition to a Virtual drive, reformat the partition, and then move it back. If I get the MBR and I get the filesystem, do I have windows? I'm worried it has it's talons in my system in some way that when I put it back it won't work.


rK
Leif Husman
 
Posts: 47
Joined: Tue Sep 02, 2008 7:14 pm

Re: windows question

Postby keivn dodd on Mon Dec 15, 2008 2:03 am

Backing up the contents of the windows partition and re-coping them to the first primary partition should work. Windows won't have any hardware changes to deal with so it should boot without compliant. For the boot code linux's grub code will replace the windows boot code but it still not a bad idea to have a back up of windows boot code on hand in case it is ever needed.
Last edited by keivn dodd on Tue Dec 16, 2008 6:20 pm, edited 1 time in total.
keivn dodd
 
Posts: 43
Joined: Sat Sep 13, 2008 2:30 am

Re: windows question

Postby jeff clark on Mon Dec 15, 2008 4:04 pm

Sounds like you're dual booting. I did this with one of my windows XP desktops and haven't had any problems with talons... I booted with a Knoppix Livecd and used the NTFSClone utility to copy the windows filesystem to an external drive. I repartitioned with fdisk, leaving an unformated space for linux, then wrote windows back to the HD. After booting back into windows, I inserted an ubuntu CD which apparently has an autorun file recognized by windows, and effectively installed Ubuntu from within XP (though it ran the standard ubuntu installation scripts). I'm guessing you'll be using Damn Small linux, or something more "hands-on", but I highly recommend NTFSClone...
jeff clark
 
Posts: 26
Joined: Tue Sep 02, 2008 7:11 pm
Location: Santa Cruz

too late

Postby Leif Husman on Tue Dec 16, 2008 10:21 am

I scp'ed the whole partition to my VM in the other room, reformatted my partition, scp'ed it all back, restored the mbr, and now it won't boot.

It's not my top priority -- I have hardly used Windows since I got my Linux to see my wireless card, and I have finals to worry about, but I want to fix it eventually. I have found that Windows help on the Net lacks the quality that the linux folks give...

rK
Leif Husman
 
Posts: 47
Joined: Tue Sep 02, 2008 7:14 pm

Re: windows question

Postby Noah Scales on Tue Dec 16, 2008 10:54 am

Hm.

I think when you copy the partition you need something that will scrape the boot code as well, assuming there is some in the first partition. I don't know if scp would do that for you, but dd probably would.

Here's a link to an article:

[url=http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm]http://apcmag.com/how_to_dual_boot_windows_xp_and_linux_xp_installed_first.htm[/url]

that might help.

-Noah
Noah Scales
 
Posts: 35
Joined: Tue Sep 02, 2008 7:12 pm

Re: windows question

Postby jeff clark on Tue Dec 16, 2008 5:23 pm

How did you restore the mbr? If you have a bootable windows disk, you can boot with that and run the fixmbr command which will rewrite fresh code to the boot sector.

Windows help on the net may be lacking because they want to by paid for their knowledge '-)
jeff clark
 
Posts: 26
Joined: Tue Sep 02, 2008 7:11 pm
Location: Santa Cruz


Return to CIS 191B - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron