Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Fedora Core 2 / Windows XP Dual Boot - Drive Geometry

Reply  
Thread Tools
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
19-Sep-2004, 02:51 PM #16
so u use fdisk erasing all data and just put linux back from another location by dd?
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
19-Sep-2004, 05:28 PM #17
I standardise my Linux partitions with Ext2 file system.

If the source and target partitions are the same size and have the same partition number I use dd to transfer from one hard disk to another. The transfer distro will boot without modification (after I include it in the MBR's bootloader of course).

If the source and target partitions are different size I have to use tar which preserves the file structure, ownership etc. The transfer distro also need no modification.

If the source and target partitions are different size and different partition name then after transfer by tar I need to amend the partition references in boot menu, fstab and mtab files.

I try to avoid a re-installation if I could retain the installed distros. This works fine as long as the Linux had been installed in the same computer with identical hardware.

I do keep backup copies of my dsitros.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
19-Sep-2004, 05:35 PM #18
so when you're just swapping a distro from partition to partition if you are modifing your table?
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
19-Sep-2004, 05:58 PM #19
Don't understand your question iXneonXi.

If the source locates at a partition different to the target then the references to the old partition must be revised to the new one.

My point is once you have a distro installed successfully you can keep on using it in various partitions and there is no need to re-install it unless it is damaged beyond repair.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
19-Sep-2004, 08:15 PM #20
o your just saying you move your linuxes from partition to partition if needed. but why would you need to move them?
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
20-Sep-2004, 06:53 AM #21
I started with one Linux taking over the whole drive, then I put it togther with XP, then XP with 4 Linux, then 16 partitions and finally the 28 partitions. I did it by moving from one drive to another. It is much quicker and safer than resizing. I have resizing messing up the partition table before. It is only a few minutes in copying a partition over.

I have all my hard drives in caddies and none fixed inside any of my computers (except laptops). It is true plug and play in my case.

When investigating your two Windows system booting I just slipped in two backup copies of my XP into the same computer to see if I could boot 3 XPs with Linux. This setup allows me to find out things quickly.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
20-Sep-2004, 08:38 AM #22
For the person who started this thread i do know of geom problems but i have had fc2 successfully installed and able to multiboot with my xp on the same computer with absolutely no problems.
___________________________________________________________
Note To Saikee:
i'd like to get back on chat sometime when its best for you b/c that looks like an interestin method i think i should get really good at. or you could pm me and describe it in much detail. also, win98 is succesfully installed in the other harddrive and i can boot it if i change my bios. linspire nuked winxp's mbr like i didnt want but i was able to acess via the grub floppy (thanx ) We really need to talk i need to get a few things sorted out and put things back to normal.
__________________
My New Year's Resolution is 1280x1024, as my eyes do not support high-def.

"There's no place like 127.0.0.1"
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
20-Sep-2004, 09:56 AM #23
iXneonXi,

Think we have hijacked this thread to talk about our own things but at least you and I can confirm that FC2 does work and the geometry problem may not entirely created by FC2.

I put my hard disk information forward because that I thought it would be a prime candidate for the alleged problem. FC2 and Red Hat have served me well. They are stable and stand shoulder to shoulder among the top Linux performers. I feel I should speak out to defend them.

If you have any other Linux issue I shall be glad of any asistance. Just catch me whenever you see in in MSN Messenger. I am not due to be away for a few weeks yet.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
20-Sep-2004, 05:29 PM #24
Thanx saikee. Yah FC2 is quite a nice system esp w/ redhat updater. See you on MSN.

Sorry to you robert about messing with your thread but basically ask me or saikee to help you set up a dualboot xp system. we have done it successfully. i will be on aim alot and my screename if iXneonXi. I prefer not to reveal my MSN name.

ps do you think the geom errors are kernel related, or anaconda (installer) related?
__________________
My New Year's Resolution is 1280x1024, as my eyes do not support high-def.

"There's no place like 127.0.0.1"
dago's Avatar
Member with 56 posts.
 
Join Date: Sep 2004
Location: Brazil
Experience: Intermediate
20-Sep-2004, 09:46 PM #25
saikee has described a nice method to backup, upgrade and install our distros if we have at least two disks available.
I understand precisely what he says because I'm familiar with things he has done, despite I don't have similiar architecture.
I want to make you some questions: suppose you have distros A, B and C. And you have disks /dev/hda and /dev/hdb
You said anytime you need repartitioning, you simply repartition correctly one of your disks and flip A, B and C to the correctly partitioned disk, right?
Fine, repartitioning is not a issue that way...

But, what happen when you need to move B from /dev/hda to /dev/hdb? Do you have to use A or C to do that? Could you use B for moving itself or not?
Unfortunately, I'm not familiar with 'dd' specially because I never know the block size. I would really enjoy if you post your command line as an example.

Thanks for this thread.

PS: one more note, if you have HEADS=16 at BIOS, FC2 installation will work no problem. That probably explains the examples we had FC2 working fully with WinXP and I'm pretty sure this is an Anaconda bug.

Last edited by dago; 20-Sep-2004 at 09:55 PM..
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
20-Sep-2004, 09:51 PM #26
k i'll try that out, i'm going to reinstall fc2.
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
21-Sep-2004, 07:33 AM #27
dd copies the data in native mode, in 1s and 0s, and so the file type has no consequence. Therefore it can be used for cloning a hard drive with both Windows and Linux partitions.

The strength of dd is also its weakness because it work perfectly only if the size of both source and target drives or partitions are identical.

The block size can be omitted and a deafult value will probably be used as most hard drive has 512 bytes per sector. My experience with dd, for two identical 200Gb disks with XP and loads of Linux inside, on block sizes yields the following results. ( the hdd has 512 bytes/sector, 63 sectors/head and 255 heads/cylinder so 512x63=32256=one track size and 512x63x255=8225280=one cylinder size)

(1) dd if=/dev/hda of=/dev/hdb took over 4 hours. Disk has 28 partitions.
(2) dd if=/dev/hda of=/dev/hdb bs=8225280 took over 2 hours. Disk has 28 partitions.
(3) dd if=/dev/hda of=/dev/hdb bs=32256 took over 1.5 hours. Disk has 16 partitions previously. Using Norton Ghost the operation took over 4 hours.

Thus Linux's dd command outperforms a commercial software like Norton Ghost.

I would use dd if the source and target partitions are same size and have the same partition number (say 5th partition) by typing

dd if=/dev/hda5 of=/dev/hdb5

I don't bother with block size for a partition because it is a few minutes job for a 10Gb transfer.

Tar command is more flexible and this is the thread I learned from. The relevant bit is by the moderator DMR when he started "here is the deal". I follow his method exactly but omitting the verbose parameter "v" as I don't need to see screen scrolling during copying. Also I now do it with a script adding the command "date" before and after the tar command so that I get the time record of the whole process.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
21-Sep-2004, 08:21 AM #28
sounds cool. still think i need an estimate when you will be on msn though. i have a few things i need to sort out.
saikee's Avatar
Senior Member with 3,409 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
21-Sep-2004, 08:56 AM #29
There is a threat for me to go to Abu Dhabi this weekend but I should be in the evening Thursday and Friday.
I Fix 4 U's Avatar
Computer Specs
Distinguished Member with 6,458 posts.
 
Join Date: Jul 2004
Location: Louisiana
Experience: 1+3+3=7
21-Sep-2004, 06:18 PM #30
i'll pm you when i figure things out.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:34 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.