You are not logged in.

#1 2006-11-23 14:26:25

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Dual Boot: Installing Grub on hda1 destroys Partition

Hi,

I have a single HDD with 3 Partitions:
hda1: Boot,Windows, NTFS
hda2: NTFS
hda3: Linux
(and swap)

after installing GRUB (from the install cd setup program: /arch/setup) I had GRUB correctly running from hda1 on boot - but the partition itself is no longer usable.

I cannot boot Windows anymore and much more important: I cannot even mount it anymore: mount -t ntfs /dev/hda /mnt/ce gives the following error:
"Wrong FS type, bad option, bad superblock on /dev/hda1 missing codepage or other error..."

I can't access the partition from the windows repair console either so I guess it's really fucked up. fdisk -l still lists it as HPFS/NTFS tho.



So I thought: Ok, let's re-format hda1 from the windows cd, isntall win and then write grub into the boot sector again.. what I did.. with just the same result: after installing grup on hda1 it was there booting into GRUB alright.. but the rest of the partition was fucked up again.


Please help. big_smile

Offline

#2 2006-11-23 15:03:55

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Dual Boot: Installing Grub on hda1 destroys Partition

that's prolly because grub cannot run from an ntfs part~ so it's reformatted it or something ... what you should have done was either create a new partition for grub, ext2,etc..
or install it to the mbr with it's root on the linux partition.


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#3 2006-11-23 15:27:08

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: Dual Boot: Installing Grub on hda1 destroys Partition

D'oh.. I knew I forgot something. big_smile

*edit*
Yup you were right, thanks. smile

Offline

#4 2006-11-23 17:25:52

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: Dual Boot: Installing Grub on hda1 destroys Partition

Hm..I didn't manage to create two primary and one extended partition (additionally to my two primary I already have).. I always ended up with only two of those and rest unusable space, so I made two,m one primary, one extended and put grub on my linux partition and made that one bootable.

That worked and made me wonder why one should create a boot partition anyway. Is there any special advantage to that?

Offline

#5 2006-11-23 18:19:36

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Dual Boot: Installing Grub on hda1 destroys Partition

i create a specific boot partition,
simply because if i have an accident on the main linux partition, then i still have a theortically bootable system.
i also have a mini-distro on the grub partition as well.. which illiminates teh need for a livecd wink


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#6 2006-11-23 19:35:44

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: Dual Boot: Installing Grub on hda1 destroys Partition

Ok that makes sense.. I guess I just gotta be careful then. big_smile
If all goes well I'll get rid of Windows anyways and can partition the disk completely anew.




(Yay posting under ARCH big_smile - with horrible font, no sound and no 3df gfx so far, but getting there. smile )

Offline

#7 2006-11-23 19:54:56

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Dual Boot: Installing Grub on hda1 destroys Partition

this is just from my pov, prolly cos i am required to use windows, due to schoool./uni...
but unless space is a issue, i'd keep windows around just in case..


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#8 2006-11-24 21:10:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: Dual Boot: Installing Grub on hda1 destroys Partition

Grub shoud be installed to /dev/hda, not /dev/hda1
Also, in most cases there are no real need for a seperate boot partion anymore.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB