Re: [LIH] Re: Partition table error
On Sat, Oct 14, 2000 at 07:20:26PM +0200, Trevor Miranda typed: Disk /dev/hda: 2096 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 * 0+637 638- 5124703+ b Win95 FAT32 /dev/hda2638 639 2 16065 83 Linux /dev/hda367720951419 11398117+ f Win95 Ext'd (LBA) /dev/hda4 0 - 0 00 Empty /dev/hda5677+868 192- 1542177 83 Linux /dev/hda6869+877 9-72261 82 Linux swap /dev/hda7878+ 1316 439- 3526236 83 Linux /dev/hda8 1317+ 2095 779- 62572867 HPFS/NTFS start: (c,h,s) expected (1023,254,63) found (1023,1,1) __ If you're adventurous enough, you could manually edit the partition table Yeah I'm adventurous :-) Any pointers Kala on how to go about it? Couldn't figure out the last message that says "start: (c,h,s) expected (1023,254,63) found (1023,1,1)". Anyway - try this using fdisk first before trying out the manual editing. a) First of all - use the "u" command to switch to sector mode of display as opposed to Cylinder mode. b) Use the "p" command to list the partitions. Note down the last sector number of the hda2 partition (set me call it l2) and the start sector number of the hda3 partition (I'll refer to it as s3) c) Use the "n" command to create the new partition - Select "p" for primary partition and "4" for creating partition No. hda4 d) When prompted for starting sector no, enter (e2+1) as the value. (The default specified should normally be this - and you can hit the enter key is the default is the same as your calculated number) e) When prompted for the ending sector number, enter the value (s3-1). I suspect it might give you a different default value here (i.e. if it had been creating invalid partitions before due to reasons unknown :-)). So force the value to be s3-1. f) Write the partition table to disk using the 'w" command. Your partition table should hopefully be OK now.. Best of luck :):):) Kala -- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/LIH
[LIH] Re: Partition table error
Thanks guys for looking into my problem I d Get free email and a permanent address at http://www.netaddress.com/?N=1 -- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/LIH
[LIH] Re: Partition table error
Thanks guys for looking into my problem I don't understand why deleting the partition hda4 and recreating it using a well-behaved partitioning program doesn't solve your problem. Could you post the sfdisk results after just deleting the partition hda4 ? I tried both cfdisk and fdisk to delete and recreate the partition but it didn't work. And I suppose that they're as well-behaved as partitioning programs can get. I wasn't too sure about using sfdisk after reading the for expert hackers only warnings in the man pages. Dos fdisk hangs after the 'do you want large disk support question'. After deleting the partition sfdisk gives this output: ___ Disk /dev/hda: 2096 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/hda1 * 0+637 638- 5124703+ b Win95 FAT32 /dev/hda2638 639 2 16065 83 Linux /dev/hda367720951419 11398117+ f Win95 Ext'd (LBA) /dev/hda4 0 - 0 00 Empty /dev/hda5677+868 192- 1542177 83 Linux /dev/hda6869+877 9-72261 82 Linux swap /dev/hda7878+ 1316 439- 3526236 83 Linux /dev/hda8 1317+ 2095 779- 62572867 HPFS/NTFS start: (c,h,s) expected (1023,254,63) found (1023,1,1) __ If you're adventurous enough, you could manually edit the partition table Yeah I'm adventurous :-) Any pointers Kala on how to go about it? Then make a new partition table, change the display to sectors (u in fdisk), and then keep on adding partition Ajay, does this mean that I first delete all the partitions using fdisk first and then recreate them? Is it OK to do that with a mounted /dev/hda7 (root) or would it be better to boot through the RedHat rescue image on the 6.2 CD. Trevor Get free email and a permanent address at http://www.netaddress.com/?N=1 -- Find out more about this and other Linux India mailing lists at http://lists.linux-india.org/
Re: [LIH] Re: Partition table error
On 14 Oct 2000, Trevor Miranda wrote: Then make a new partition table, change the display to sectors (u in fdisk), and then keep on adding partition Ajay, does this mean that I first delete all the partitions using fdisk first and then recreate them? Is it OK to do that with a mounted /dev/hda7 (root) or would it be better to boot through the RedHat rescue image on the 6.2 CD. IMHO The best way is to use the rescue image. It won't give u the error: reboot to check if the partition table is updated. Delete all partitions and then add them again giving start and end points in sectors instead or cylinders. Best of Luck :) -- #!!!If anything can go wrong, _FIX_ it. (To hell with MURPHY) Ajay kumar Dwivedi [EMAIL PROTECTED] -- An alpha version of a web based tool to manage your subscription with this mailing list is at http://lists.linux-india.org/cgi-bin/mj_wwwusr
[LIH] Re: partition
--- On 25/09/00 10:45 +0530, Sumanth Mithra wrote: can u pls give an exhaustive information regrding partitioning of hard disks?(about logical drives,primary dos partition,secondary etc.) If you want exhaustive go to google and search with the keywords 'MBR', 'partition', etc. For a quick introduction read the file 'README' in your /usr/doc/lilo directory. Biju -- An alpha version of a web based tool to manage your subscription with this mailing list is at http://lists.linux-india.org/cgi-bin/mj_wwwusr
[LIH] Re: partition
"Biju" == Biju Chacko [EMAIL PROTECTED] writes: Biju --- On 25/09/00 10:45 +0530, Sumanth Mithra wrote: can u pls give an exhaustive information regrding partitioning of hard disks?(about logical drives,primary dos partition,secondary etc.) Biju If you want exhaustive go to google and search with the Biju keywords 'MBR', 'partition', etc. Biju For a quick introduction read the file 'README' in your Biju /usr/doc/lilo directory. Biju Biju Or, -rw-r--r--1 root root30436 May 9 1998 /usr/doc/HOWTO/mini/Partition Regards, -- Raju -- Find out more about this and other Linux India mailing lists at http://lists.linux-india.org/
Re: [LIH] Re: Partition/Win95 problem
Shridhar Daithankar wrote: Unrelated question, can I install both NT and '95 on a single partition? Yes. Definitely. [I am giving Win fundaes here. Someone kick me] --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.
Re: [LIH] Re: Partition/Win95 problem
On Fri, May 12, 2000 at 11:04:59AM +0530, Raju Mathur wrote: http://reality.sgi.com/raju/software.html that gives a 404. got a local copy which u can put up somewhere else fer all of us ta see? hope so! Nikhil. --- For information on this and other Linux India mailing lists check out http://lists.linux-india.org/
Re: [LIH] Re: Partition/Win95 problem
On Fri, May 12, 2000 at 10:15:17AM +0530, Raju Mathur typed: Unrelated question, can I install both NT and '95 on a single partition? Haven't done this in a long time, but if my memory serves me right, there's no problem in doing this. Just make sure you install them into different directories. ( Say C:\WINDOWS and C:\WINNT) Kala --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.
Re: [LIH] Re: Partition/Win95 problem
Yeh you can install both windows NT and Windows 9x in single partition. But the partition type should be Fat16 or Fat32. If you install NT 4 than your partition type should be Fat16../ Rgds, Dhiren Dhiran Rajbhandari ATC Communications Network 7/28 Adarsh Nagar, Birgunj Email: [EMAIL PROTECTED] Phone: 051-24075, 22276 Fax : 977-51-21692 On Fri, 12 May 2000, Shridhar Daithankar wrote: Hi On Fri, 12 May 2000, Raju Mathur wrote: Unrelated question, can I install both NT and '95 on a single partition? I suppose yes... Set different installation directory for NT, I don't remember exactly... (Come from an MCSE book. Threw away then and there only..) --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked. --- For information on this and other Linux India mailing lists check out http://lists.linux-india.org/
[LIH] Re: Partition/Win95 problem
-- On Thu, 11 May 2000 Raju Mathur wrote: I have the following disk partition setup: hda1 2G Linux hda2 2G NT with Windows95 bootloader on boot record hda3 2G '95 hda rest (13G) free When I boot Winduhs it loads the boot loader from hda2 (C:) and that boots Winduhs from hda3 (D:). Winduhs is installed on D: (hda3). However, if I make an extended partition on the rest of the disk, the Winduhs boot fails... C: is readable, but it refuses to access D: with ``unreadable media byte'' and drops me into a MS-DUH prompt. As usual I'm a little late, but what to do -- I get the digest! AFAIK, DOS and it's descendents are pretty uncomfortable with more than one primary partition. IIRC, DOS/95 fdisk will not allow you to create a second primary partition. NT will, though. I'd suggest you create one primary partition with both NT and '95 system directories on it. Then create an extended partition in which you can create partitions for as many linuxes as you want as well as space for 95/NT data. P.S. in case you're wondering about the NT, I installed that first on C: and then installed '95 on D: . Of course, MS products are completely incompatible with each other, so '95 overwrote NT's boot sector and now I can't boot NT at all! You need to install OSs in order of intelligence, dumbest first: 95-NT-Linux. A tip for you if you intend to install Win2K: Make sure you allocate enough space for the system directory. It has a dll caching scheme that eats space at a prodigous rate: At install time it was about 300MB+, after about 3 weeks it was 1.2G+ with about 800MB in the dll cache. P.P.S. I have legal copies of all these softwares :-) Fat lot of good that does you -- you _still_ need linux to do anything meaningful, including getting your mug on the (appropriately enough) idiot box. *diving for cover* Biju = Biju "Botsie" Chacko "With men and sex when it's right, it's right and when it's wrong, it's right." - Fishism __ Do You Yahoo!? Send instant messages get email alerts with Yahoo! Messenger. http://im.yahoo.com/ --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.
Re: [LIH] Re: Partition/Win95 problem
On Thu, 11 May 2000, Biju Chacko wrote: biju I'd suggest you create one primary partition with both NT and '95 biju system directories on it. Then create an extended partition in which this is fine, but ... biju You need to install OSs in order of intelligence, dumbest first: biju 95-NT-Linux. Just _why_ do you want to install NT and 95 on the same box? It's not like you're running short of boxen :) biju eats space at a prodigous rate: At install time it was about 300MB+, biju after about 3 weeks it was 1.2G+ with about 800MB in the dll cache. There _is_ some sort of compression for this IIRC. I'll dig around a bit. Or else, at this rate it will eat your hard disk. biju Fat lot of good that does you -- you _still_ need linux to do anything biju meaningful, including getting your mug on the (appropriately enough) biju idiot box. *diving for cover* ... and on _linux.com_ instead of winmag :) (joining Biju) -- Suresh Ramasubramanian | sureshr at staff.juno.com It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. -- Bertrand Russell --- Check out the 'What to do before posting to the list' site for a list of things to try before posting. The site is at http://botsie.tripod.com/beforeposting/
[LIH] Re: Partition/Win95 problem
Hi Biju, "Biju" == Biju Chacko [EMAIL PROTECTED] writes: Biju [snip] Biju I'd suggest you create one primary partition with both NT Biju and '95 system directories on it. Then create an extended Biju partition in which you can create partitions for as many Biju linuxes as you want as well as space for 95/NT data. Unrelated question, can I install both NT and '95 on a single partition? P.P.S. I have legal copies of all these softwares :-) Biju Fat lot of good that does you -- you _still_ need linux to Biju do anything meaningful, including getting your mug on the Biju (appropriately enough) idiot box. *diving for cover* *Making notes in little black book* Expect a call from my friends around 0300 one of these days/nights. You'll recognise them by their dark overcoats and hats and the AK47's in their hands. Regards, -- Raju --- The LIH mailing list archives are available at: http://lists.linux-india.org/cgi-bin/wilma/linux-india-help
Re: [LIH] Re: Partition/Win95 problem
Raju Mathur saw fit to inform me that: Actually, it's to test out a few pieces of software, including my Cygwin ssh port. The last time I compiled it it wouldn't run under NT, since I never had an NT box to test it out on. oh, ok. However, NT and 95 are not very peaceful neighbors when installed on the same box :) *Making more notes in same little black book* Kindly read earlier message addressed to Biju. Kindly arrange to be in Biju's house on specified night. Sure - If you pay for my air ticket to [wherever in Kerala Biju is]. You can courier me the air ticket along with that T-Shirt you promised me :) Oh btw - check out Nano - http://www.asty.org/nano Lovely replacement for - you guessed it - PICO. -- Suresh Ramasubramanian | sureshr at staff.juno.com --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.
Re: [LIH] Re: Partition/Win95 problem
On Fri, May 12, 2000 at 10:18:55AM +0530, Raju Mathur typed: Actually, it's to test out a few pieces of software, including my Cygwin ssh port. The last time I compiled it it wouldn't run under Oh yeah, can you give me a URL for this? -- Suresh Ramasubramanian | sureshr at staff.juno.com --- For information on this and other Linux India mailing lists check out http://lists.linux-india.org/
Re: [LIH] Re: Partition/Win95 problem
Hi On Fri, 12 May 2000, Raju Mathur wrote: Unrelated question, can I install both NT and '95 on a single partition? I suppose yes... Set different installation directory for NT, I don't remember exactly... (Come from an MCSE book. Threw away then and there only..) --- LIH is all for free speech. But it was created for a purpose - to help people discuss issues about installing and running Linux. If your messages are counterproductive to this purpose, your privileges to submit messages can and will be revoked.
Re: [LIH] Re: Partition/Win95 problem
Hi Suresh, "Suresh" == Suresh Ramasubramanian [EMAIL PROTECTED] writes: Suresh [snippage occurred] Suresh Just _why_ do you want to install NT and 95 on the same Suresh box? It's not like you're running short of boxen :) Actually, it's to test out a few pieces of software, including my Cygwin ssh port. The last time I compiled it it wouldn't run under NT, since I never had an NT box to test it out on. Suresh ... and on _linux.com_ instead of winmag :) (joining Biju) *Making more notes in same little black book* Kindly read earlier message addressed to Biju. Kindly arrange to be in Biju's house on specified night. Regards, -- Raju --- The LIH mailing list archives are available at: http://lists.linux-india.org/cgi-bin/wilma/linux-india-help
Re: [LIH] Re: Partition/Win95 problem
Hi Suresh, Follow from http://reality.sgi.com/raju/software.html I hope my page on reality hasn't been eaten up by now... nope, it's still there. Thank god for inefficient webmasters :) Regards, -- Raju "Suresh" == Suresh Ramasubramanian [EMAIL PROTECTED] writes: Suresh On Fri, May 12, 2000 at 10:18:55AM +0530, Raju Mathur Suresh typed: Actually, it's to test out a few pieces of software, including my Cygwin ssh port. The last time I compiled it it wouldn't run under Suresh Suresh Oh yeah, can you give me a URL for this? --- For more information on the LIH mailing list see: http://lists.linux-india.org/lists/LIH