|
Home > Archive > Unix administration > January 2007 > Creating linux and windows partions in the same disk
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]
| Author |
Creating linux and windows partions in the same disk
|
|
| Rafael Almeida 2007-01-22, 7:21 am |
| Hello.
I was having trouble installing windows on my computer and then I did
dd if=/dev/zero of=/dev/hda count=1 bs=512
It deleted my partition table and the windows instalation
started without any problems. But after editing my partition table with
cfdisk, the instalation of windows doesn't even start (it locks on a
black screen after some message about trying to identify my computer).
I think windows probably doesn't recognize the partition table format
and locks for some reason. Are there any tools I could use to make my
partition table compatible with windows and linux? Any other ideas on
how I could solve this problem will be apreciated.
I'm not sure this is the right newsgroup, if there's a more apropriated
one, please tell me. As it is a windows and linux issue I thought I
could post it on a unix or windows newsgroup. Since I don't have
windows instaled I think any solutions have to come from a unix
program, so I posted this here.
Thank you for your attention,
Rafael
| |
| Doug Freyburger 2007-01-22, 1:16 pm |
| Rafael Almeida wrote:
>
> I was having trouble installing windows on my computer and then I did
> dd if=/dev/zero of=/dev/hda count=1 bs=512
> It deleted my partition table and the windows instalation
> started without any problems. But after editing my partition table with
> cfdisk, the instalation of windows doesn't even start (it locks on a
> black screen after some message about trying to identify my computer).
>
> I think windows probably doesn't recognize the partition table format
> and locks for some reason. Are there any tools I could use to make my
> partition table compatible with windows and linux? Any other ideas on
> how I could solve this problem will be apreciated.
I think the problm is the retroactive edit not an incompatible format.
Delete a section of space where Windows had data and it will freak
out. With an NTFS format device data tends to be scatterred over
the whole device because that gives better performance than
sequential (maybe, for some disk technologies, tended to be more
true of older technologies).
Are you using GRUB or one of the other multi-boot controllers?
> I'm not sure this is the right newsgroup, if there's a more apropriated
> one, please tell me. As it is a windows and linux issue I thought I
> could post it on a unix or windows newsgroup. Since I don't have
> windows instaled I think any solutions have to come from a unix
> program, so I posted this here.
news:comp.os.linux.setup appears to be the place to ask.
| |
| Rafael Almeida 2007-01-22, 7:20 pm |
| On 22 Jan 2007 09:55:33 -0800
"Doug Freyburger" <dfreybur@yahoo.com> wrote:
> I think the problm is the retroactive edit not an incompatible format.
> Delete a section of space where Windows had data and it will freak
> out. With an NTFS format device data tends to be scatterred over
> the whole device because that gives better performance than
> sequential (maybe, for some disk technologies, tended to be more
> true of older technologies).
>
> Are you using GRUB or one of the other multi-boot controllers?
Yes, I'm using grub. So can I somehow make a ntfs partition scatterred
over the device using linuxe's cfdisk? I've tried creating a ntfs
partition on cfdisk, but it didn't work.
| |
| Doug Freyburger 2007-01-22, 7:20 pm |
| Rafael Almeida wrote:
> "Doug Freyburger" <dfreybur@yahoo.com> wrote:
>
>
>
> Yes, I'm using grub. So can I somehow make a ntfs partition scatterred
> over the device using linuxe's cfdisk? I've tried creating a ntfs
> partition on cfdisk, but it didn't work.
I only use Linux on single-boot systems in data centers. Oracle
and such. You want to ask that in comp.os.linux.setup or some
other group. Best I can do is recall from the Red Hat books that
it works best to install Linux first using grub and following the
steps to set it up multi-boot then to install Windows in the
partition you left available for it.
| |
| Moe Trin 2007-01-22, 7:20 pm |
| On Mon, 22 Jan 2007, in the Usenet newsgroup comp.unix.admin, in article
<20070122070330.6ba29e3d.rafaelc@dcc.ufmg.br>, Rafael Almeida wrote:
>I was having trouble installing windows on my computer and then I did
> dd if=/dev/zero of=/dev/hda count=1 bs=512
>It deleted my partition table and the windows instalation
All that did was zero the MBR on the primary master IDE drive.
>started without any problems. But after editing my partition table with
>cfdisk, the instalation of windows doesn't even start (it locks on a
>black screen after some message about trying to identify my computer).
What exactly does the partition table look like? I don't use cfdisk,
but as root you can try
/sbin/fdisk -l /dev/hda
which should list the partition table.
>I think windows probably doesn't recognize the partition table format
>and locks for some reason. Are there any tools I could use to make my
>partition table compatible with windows and linux? Any other ideas on
>how I could solve this problem will be apreciated.
Not enough information. What kind of drive? What distribution/release of
Linux? What version of windoze? Do you know that the drive is jumpered
correctly? I'm assuming you read the man page for 'cfdisk(8)' very
carefully.
As a _general_ statement, windoze is quite limited in capability, and is
quite crude when installing. The best solution is to install windoze first,
setting aside (not partitioning) the space you intend to use for Linux.
The many Linux installation programs can easily handle installing along
side of an existing windoze installation - the reverse is never true. See
-rw-rw-r-- 1 gferg ldp 39240 May 3 2001 Install-Strategies
-rw-rw-r-- 1 gferg ldp 68456 Jul 8 2002 Installation-HOWTO
-rw-rw-r-- 1 gferg ldp 18850 Mar 13 2000 MultiOS-HOWTO
-rw-rw-r-- 1 gferg ldp 22488 Dec 4 2000 Pre-Installation-Checklist
>I'm not sure this is the right newsgroup, if there's a more apropriated
>one, please tell me.
On the 15th of each month, there is a posting to the Usenet newsgroups
news.announce.newgroups, news.groups, and news.lists.misc with the
subject "List of Big Eight Newsgroups". Searching for the Linux
newsgroups in that file, I find:
[compton ~]$ zgrep linux big.8.list.01.15.07.gz | cut -f1 | column
comp.os.linux.advocacy comp.os.linux.misc
comp.os.linux.alpha comp.os.linux.networking
comp.os.linux.announce comp.os.linux.portable
comp.os.linux.answers comp.os.linux.powerpc
comp.os.linux.development.apps comp.os.linux.security
comp.os.linux.development.system comp.os.linux.setup
comp.os.linux.embedded comp.os.linux.x
comp.os.linux.hardware comp.os.linux.xbox
comp.os.linux.m68k
[compton ~]$
and the most appropriate group would be
[compton ~]$ zgrep linux.setup big.8.list.01.15.07.gz
comp.os.linux.setup Linux installation and system administration.
[compton ~]$
>As it is a windows and linux issue I thought I could post it on a unix
>or windows newsgroup. Since I don't have windows instaled I think any
>solutions have to come from a unix program, so I posted this here.
Linux has had it's own newsgroups for about 15 years now. Depending on
how your news server is set up, you might see a lot more than that.
[compton ~]$ grep -c linux .newsrc
1119
[compton ~]$
A few of those might even be useful - but I'd recommend sticking with the
17 groups listed above.
Old guy
| |
|
|
On Jan 22, 7:44 pm, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> [...]
> As a _general_ statement, windoze is quite limited in capability, and is
> quite crude when installing. The best solution is to install windoze first,
> setting aside (not partitioning) the space you intend to use for Linux.
> The many Linux installation programs can easily handle installing along
> side of an existing windoze installation - the reverse is never true.
Sound advice. I've found it to be the most reliable method for dual
boot.
Keep windoze happy so it doesn't bite you in the butt. After a stable
Windows installation, there are several tools available. I use
Partition
Magic to create the partitions for Linux. Booting off the Linux CD is
then
straightforward
> [...]
> Old guy
Regards,
Jon
|
|
|
|
|