Sometime on Jun 29, Kinjal Sonpal assembled some asciibets to say:
installing Linux.. However after installing Linux, Win98
shows 3
partitions as c,d and e where e: shows the contents of what previously belonged to d: and now the d: show me an error
message of
"Invalid media reading drive d "
give us the output of /sbin/fdisk -l /dev/hda (run as root).
Here's the output .. ---------------------------- Start -----------------------------------
Disk /dev/hda: 255 heads, 63 sectors, 1245 cylinders Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 747 6000246 b Win95 FAT32 /dev/hda2 748 995 1992060 b Win95 FAT32 /dev/hda3 996 1245 2008125 5 Extended /dev/hda5 * 996 1200 1646631 83 Linux /dev/hda6 1201 1245 361431 82 Linux swap
--------------------------- End -----------------------------------------------
thanks a lot for replying :-)
Warm Regards, $ sonpal -kj
Sometime Today, Kinjal Sonpal assembled some asciibets to say:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 747 6000246 b Win95 FAT32 /dev/hda2 748 995 1992060 b Win95 FAT32 /dev/hda3 996 1245 2008125 5 Extended /dev/hda5 * 996 1200 1646631 83 Linux /dev/hda6 1201 1245 361431 82 Linux swap
Ok, I'd probably also need the output of fdisk under dos, but there are two things I can tell you from this.
1. Why do you have two active partitions? 2. The way windows numbers partitions is like this:
First (C:) active primary dos partition, then (D:, E:, etc) first, second, etc logical drive in extended dos partition, then all other primary partitions.
Note: an extended partition is a primary partition that can contain secondary partitions.
What you have above, is three primary partitions - two windows, and one extended partition.
The problem really is that your two windows partitions are both primary. One of them should have been secondary.
Because of this, the second primary partition which was D: before has become E: now.
Windows does not look at the partition table to find out the type of partition or the size. It looks at the first 256 bytes of a partition. DOS partitions have these bytes zeroed out. If your linux partition also has these bytes zeroed out (which is not impossible), then windows will think that it is a dos drive, and try to show it. Of course, it can't make sense of the data structures on the disk, so tells you that it is invalid media.
How to fix it? I have no idea.
Philip
Mr. Philip Tellis writes :
Ok, I'd probably also need the output of fdisk under dos, but
here it is .. ----------------------------------------------------------------- - Fixed Disk Drive Status Disk Drv Mbytes Free Usage 1 9766 100% C: 5860 D: 1945 227 ----------------------------------------------------------------- - I also have a third party Partitioning tool which gives detailed output regarding the partitions .. please refer to the file attached herewith .. I hope Luggers won't mind this ..
- Why do you have two active partitions?
one for the Win98(hda1) and the other for the Linux Root(hda5) .. It was marked as bootable when I created that partition while installing linux .. even after marking it as non-bootable partition (I generally use bootable floppy to boot ) the situation is unchanegd ..
DOS partitions have these bytes zeroed out. If your linux
partition
also has these bytes zeroed out (which is not impossible),
How do I check it? any idea ? Thanx a lot for replying :-)
Warm Regards, $ sonpal -kj
Sometime Today, Kinjal Sonpal assembled some asciibets to say:
DOS partitions have these bytes zeroed out. If your linux partition also has these bytes zeroed out (which is not impossible),
How do I check it? any idea ?
% dd if=/dev/hda of=/path/to/some/file bs=256
check the contents of the /path/to/some/file
Philip
Philip Tellis wrote:
DOS partitions have these bytes zeroed out. If your linux
partition
also has these bytes zeroed out (which is not impossible),
How do I check it? any idea ?
% dd if=/dev/hda of=/path/to/some/file bs=256
check the contents of the /path/to/some/file
checked the contents as suggested by u .. it shows some junk chars in the file, i.e the first 256 bytes are not zeroed out...
I can afford to repartition and reinstall the Linux as well as Windows parts .. How shud I make partitions ? As mentioned earlier,on a10gb hdd, i want to have 6gb and 2gb partitions to be kept for Win98 and the last one to be kept for Linux.. Shud I keep the second 2gb Fat32 partition as an extended one ? Thanks a lot in advance.
Warm Regards, $ sonpal -kj
On Thu, 5 Jul 2001, Kinjal Sonpal wrote:
As mentioned earlier,on a10gb hdd, i want to have 6gb and 2gb partitions to be kept for Win98 and the last one to be kept for Linux.. Shud I keep the second 2gb Fat32 partition as an extended one ? Thanks a lot in advance.
Create your windows partition as primary, then your extentended partition. Put linux and windows second partition in your extended partition. You may want to put your boot image on the windows partition so that it is within the first 1024 cylinders.
Philip
Philip Tellis wrote :
Create your windows partition as primary, then your extentended partition. Put linux and windows second partition in your extended partition. You may want to put your boot image on the windows
partition
so that it is within the first 1024 cylinders.
If I install Linux in the extended partition, will i be able to boot using lilo or some other boot manager tool ? and i also didn't understand what did u mean by
put your boot image on the windows partition
Do u mean to say *put boot image in the second windows partittion* ?
I am planning to install Debian Distro, for which, I believe it needs around 3-4 partitions for /usr, /bin, etc. along with the regular swap and the root partitions .. So, shud I keep all these partitions as extended partitions ? Please correct me if i'm wrong somewhere as I am not fully aware of all these concepts ..
BTW, are there any good docs regarding this topic ? I'd gone thru' man page of lilo but didn't get much explanation regarding the partitions and similar things .. Thanks again for replying
Warm Regards, $ sonpal -kj
Sometime Today, Kinjal Sonpal assembled some asciibets to say:
If I install Linux in the extended partition, will i be able to boot using lilo or some other boot manager tool ? and i also didn't understand what did u mean by
Yes.
put your boot image on the windows partition
Do u mean to say *put boot image in the second windows partittion* ?
No, on the first. Your boot image is just a file (vmlinuz or bzImage or whatever you called it). You should copy it to your windows partition, and tell lilo to find it there. You will also be able to use loadlin to boot then.
I am planning to install Debian Distro, for which, I believe it needs around 3-4 partitions for /usr, /bin, etc. along with the regular swap and the root partitions .. So, shud I keep all these partitions as extended partitions ?
Yes. Linux partitions can be anywhere. Even spread out on multiple disks (single partition on multiple disks is also possible).
BTW, are there any good docs regarding this topic ? I'd gone thru' man page of lilo but didn't get much explanation regarding the partitions and similar things ..
Possibly the linux installation howto, but I haven't seen it. The best thing you can have is the will to experiment and the will to take risks. Fear of the unknown is the biggest hindrance in such matters.
Philip
Phillip Tellis wrote:
The best thing you can have is the will to experiment and the will to take
risks.
Fear of the unknown is the biggest hindrance in such matters.
Yes, that's true and thanks a lot for your guidance. I think I shud be able to solve the problem now and let the list know as and when I solve the problem by trying out different things :-) Thanks a lot
Warm Regards, $ sonpal -kj
On Fri, 6 Jul 2001, Kinjal Sonpal wrote:
Phillip Tellis wrote:
^^ Wow, how did that happen? Does Oulook Express change people's names as well?
Philip
Philip Tellis wrote:
On Fri, 6 Jul 2001, Kinjal Sonpal wrote:
Phillip Tellis wrote:
^^
Wow, how did that happen? Does Oulook Express change people's names
as
I'm sorry for that. It was a typing mistake .. As u might be aware, Outlook does not allow to put pre-formatted the header in the replied message.I do it manually everytime I reply to someone on the list. BTW,which email client do u use ? I am asking u this because you have an iName.com email ID and AFAIK it's a webmail service. Do they also provide pop3 and smtp services ? i hope u won't mind this personal question
Warm Regards, $ sonpal -kj
On Fri, 6 Jul 2001, Kinjal Sonpal wrote:
BTW,which email client do u use ? I am asking u this because you have
pine. sometimes I use sendmail raw, sometimes I telnet to port 25.
an iName.com email ID and AFAIK it's a webmail service. Do they also provide pop3 and smtp services ?
when I signed up, they provided stored or forwarded mail and smtp. We had to choose between stored or forwarded mail. Either way, we got smtp. If one chose webmail, then you also got pop3 for free. On 1st Jan 1999, they made pop3 a paid service, and attached smtp to the pop3 service. Webmail and forwarding was still free. I signed up with them sometime in early '97, and chose the forwarding service, which is why, although I've changed my email address several times, you can still mail me on iname.
Problem - iname bounces too often for my liking, and there are loads of servers on its blacklist (including some of vsnl's).
I also have about 50 other email addresses. Many of them I don't remember the user names for. Passwords, I remember all. Tricky situation wot? I really only check a few of these. Three of my addresses are forwarding accounts. Two are for chatting only. One is for office work, one is for home.
Hope that answers your question.
Philip
On Fri, 6 Jul 2001, Kinjal Sonpal wrote:
I am planning to install Debian Distro, for which, I believe it needs around 3-4 partitions for /usr, /bin, etc. along with the regular swap and the root partitions ..
In debian there is no need to create /usr /bin etc.. but it is a good idea to do that because if you plan to reinstall the system in future then you can remount existing /usr partition without formatting and format other partitions.
Regards pankaj