LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2004, 01:45 PM   #1
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Rep: Reputation: 30
where did hda3 and 4 go?


i just re partitioned my hard disk and something weird has happened

i had it set up as:

hda1 Win98
hda2 Win98
hda3 Win98
hda4 Linux ext
hda5 Linux /
hda6 Linux /swp
hda7 Linux /home

i just changed it and ended up with:

hda1 Win98
hda2 Win98 ext
hda5 Win98
hda6 Linux /
hda7 Linux /swp
hda8 Linux /home
hda8 Win98

i lost hda3 and hda4! where are they?

method i used was:

1) changed the ext type from linux to win
2) copied hda2 and hda3 into the extended partition
3) deleted hda2 and hda3
4) resized the ext partition (now hda2)

i looked at the MBR and there are two rows that have nothing in them except zeros - is this hda3 and hda4 trapped in limbo?

it all works fine - just seems kind of dumb!
 
Old 03-09-2004, 02:21 PM   #2
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 30
I think you partitioner just displays the partitions differently: logical partitions are numbered 5 and higher. A partition is a primary partition or a extended partition, containing logical partitions. So you can't have a windows 98 ext containing logical partions or so. You could also be confused with the name of a linux file-system (ext 2 or 3), what does not mean it is a extended partition. Where did you get all this information from?
 
Old 03-09-2004, 02:22 PM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well.....Its not dumb of you, but very few of us know this thing....

A hard disk can have only 4 Primary Partitions....On your box, windows 98 is installed on C drive - which is the first primary partition - ( /dev/hda1 )...D drive was (/dev/hda2) and E drive was (/dev/hda3)...Then you created an Extended Partition ( with linux installed on the logical drives in this extended partition) ...This Extended Partition was the fourth Primary Partition..i.e..../dev/hda4...and therefore the subsequent drives were labeled as /dev/hda5...and so on...

Whenever you have an Extended Partition, linux automatically labels the subsequent drives from /dev/hda5 onwards, becos the labels /dev/hda2, /dev/hda3 and /dev/hda4 are reserved for the second, third and fourth primary partitions respectively....

Thats why your Win98 drive's label was changed to /dev/hda5 coz it became a part of the Extended partition.

Regards,

amit
 
Old 03-09-2004, 02:31 PM   #4
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
so it's normal? cheers, amit. makes sense. i had a hell of a time reconfiging lilo cos of that - was expecting / to be in a totally different place - thank god for damn small linux and sudo vi!

do you have any opinion as to the safety of the this set up?

basically this set up was recommended to me as being the safest way of having linux logical partitions in an extended win partition, i.e. you should have the windows logical partitions 1st and last and only one windows primary partition.
 
Old 03-09-2004, 02:47 PM   #5
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Quote:
do you have any opinion as to the safety of the this set up?

basically this set up was recommended to me as being the safest way of having linux logical partitions in an extended win partition, i.e. you should have the windows logical partitions 1st and last and only one windows primary partition
I've never come across anything like that in any book/site or tutorial or on the internet....

I dont think having a setup like above will make much of a difference. ..In fact, linux partitions cannot be read from windows unless you install a 3rd party software. Also, Linux has enough tools and utilities to prevent unauthorised access, making it a safe, reliable and secure operating system.

However, I'd like to know if someone else agrees with your idea and the reason for that too....

Regards,

amit
 
Old 03-09-2004, 04:25 PM   #6
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
according to the ms knowledge base it seems - big thread about it a while back

http://www.linuxquestions.org/questi...5&pagenumber=2

i wasn't having any probs the way it was, except i had to make the ext partition linux to "hide" the partition in windows - this prob had been fixed with the new set up - even tho the ext is now windows again.

apparently windows can get confused and eat your linux partitions - happened to that dude - may happen to me - better safe than soryy, look to the future etc

i added this most recent question to the end of that thread but i knew no-one would answer it there - so i cross posted - naughty me
 
Old 03-09-2004, 04:48 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Your initial partitioning scheme apparently consisted of 3 primary and one logical partition. Your current partitioning scheme apparently uses one primary and one logical partition. There are no inherent security issues with either approach, and both are equally valid. coolamit's detailed response in post #3 is exactly correct (nicely done!) and I also have never heard of any recommendation to define the partitions in the way you describe. -- J.W.
 
Old 03-10-2004, 04:19 AM   #8
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
thanks for that

ok. hda1-4 are set aside for primary partitions but now i have noticed that i have C, D and E for my hard disks in windows but my cdrom is now G!

aaaaaaaaaaaaaaaaaaaaaaaarrrrrrrrrrggggggggghhhhhhhhhhhhh!

why?

why isn't it F? i just tested a boot from a floppy to win98 and that made a RAM disk called F - could that still be hanging on somehow? can't be sure that CD wasn't G before tho. this is so annoying!

Last edited by dibblethewrecke; 03-10-2004 at 07:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hda3 cant unmount on shutdown assaultdk SUSE / openSUSE 2 08-18-2005 12:28 PM
I cannot see my /dev/hda3 on my desktop? shootingstar Linux - Newbie 1 03-06-2005 03:23 AM
i want to see hda3, but how? teddmcload SUSE / openSUSE 2 02-06-2005 03:00 PM
improper shut down, hda3 wont fsck michaelbhahn Linux - Hardware 6 12-22-2004 12:09 PM
create several partitions between hda1 and hda3 tcma Linux - General 7 09-15-2004 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration