Re: [expert] kernel panic after defrag in WinjMe

2003-02-27 Thread diego
OK, let's go safe first. Before doing ANYTHING more make a partition
table copy just in case it gets even worse: 
1) Boot a linux (for example th rescue cd you have). 
2) Insert a spare floppy disk 
3) (As root) dd if=/dev/hda of=/dev/fd0 bs=512 count=64 

Fine, so you have now a copy of your harddisk boot and table partition
(the damaged one). Now let's start playing 

Write down in a paper sheet the guessed partitions and then run parted
from the rescue linux: 
parted /dev/hda 

To see what you have rigth now type: 
print 
then remove every partition you have except 1 and 2 (Windows and
extended one): 
rm minor_number 
where minor_number is the number in the first column of the partition to
erase. 

When you are done, just create the new ones with guessed starts and
ends: 
mkpart ext2/ext3/reiserfs/what-ever-you-had guessed_start guessed_stop 
mkpart linux-swap guessed_swap_start guessed_swap_stop 

To exit just type: 
quit 


To know more about parted type man parted or just type help inside
parted. 


Good luck. 



El mar, 25-02-2003 a las 17:40, antonio rodriguez escribió: 
 Dear All,
 
 I've downloaded and run gpart, but I'm not getting the results I
 expected. By the moment lilo works. I've enterede in rescue mode with
 cd1. So I'm able to work in rescue mode, but gpart gives to me:
 
 *Waarning partition (Extended DOS, LBA) ends beyond disk end,.
 Number of inconsistencies found: 1
 
 Guessed primary parttion table:
 Primary partition(1):
 DOS or Windows
 
 Primary partition(2):
 Extended DOS
 
 Primary partition(unused):
 
 Primary partition(unused):
 
 So what's the following?
 
 Cheers,
 
 Antonio
  go to freshmeat grab gparted put it on a floppy and let it try and
  rediscover your partitions again.  Then replace your winME with 2000
  *grin*..
 
  James
 
 
  On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
   Dear All,
  
   I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
   with WinMe. After defrag WinMe I found that I couldn't boot Linux
   because of a kernel panic. Entering in rescue mode I've ran fdisk so
 my
   new partition table has only two sections:
  
   /dev/hda1/Win95 FAT32 (LBA)
   /dev/hda2/Extended
  
   How do I could fix this problem in order to have my old 3 partitions
 (W,
   Linux and Linux swap)?
  
   Any hints appreciated
  
   THanks in advance
  
   Antonio Rodriguez
  
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
  
  
  
  
 __
  
   Want to buy your Pack or Services from MandrakeSoft?
   Go to http://www.mandrakestore.com
 
 
 
 
 
 
 
 
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com
 
 
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com

___
Yahoo! Móviles
Personaliza tu móvil con tu logo y melodía favorito
en http://moviles.yahoo.es

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-26 Thread antonio rodriguez
Dear Ted,

Yes it gives more information than gpart, and most of all, it recognizes
my linux partitions, with all my dear data within. Now the problem is
how to resize the partitions and how to boot again the system. Lilo
works OK, the problem is that linux size partitions are all wrong and
duplicated.

Cheers,

Antonio
- Original Message -
From: Ted [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 7:40 AM
Subject: Re: [expert] kernel panic after defrag in WinjMe


 On Tuesday 25 February 2003 06:49 am, tarvid wrote:

  gpart rescued one customer after a viral infection had messed up
  partitions.

 You can also try testdisk:

 http://www.cgsecurity.org/index.html?testdisk.html

 For me, it was able to rescue partitions that gpart could not.










 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/03


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-26 Thread James Sparenberg
On Wed, 2003-02-26 at 02:43, antonio rodriguez wrote:
 Dear Ted,
 
 Yes it gives more information than gpart, and most of all, it recognizes
 my linux partitions, with all my dear data within. Now the problem is
 how to resize the partitions and how to boot again the system. Lilo
 works OK, the problem is that linux size partitions are all wrong and
 duplicated.


Antonio,

   It's delicate... it can be done.  But if you know which partition is
your home partition (or wherever the data is) all is not lost.  If
gparted or the other tool give you the beginning of each partition
(this is more important than the end actually) You can use fdisk to
recreate them.  What I've done in the past is boot from the disk 1
rescue disk.  then using it, create the first partition. Test mount it. 
If it mounts ok and is readable go on to the second.  If it isn't
readable recheck the beginning of the partition doing so one at a
time your data will re-appear since it's not gone... just hidden from
view.

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread James Sparenberg
go to freshmeat grab gparted put it on a floppy and let it try and
rediscover your partitions again.  Then replace your winME with 2000
*grin*..

James


On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
 Dear All,
 
 I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
 with WinMe. After defrag WinMe I found that I couldn't boot Linux
 because of a kernel panic. Entering in rescue mode I've ran fdisk so my
 new partition table has only two sections:
 
 /dev/hda1/Win95 FAT32 (LBA)
 /dev/hda2/Extended
 
 How do I could fix this problem in order to have my old 3 partitions (W,
 Linux and Linux swap)?
 
 Any hints appreciated
 
 THanks in advance
 
 Antonio Rodriguez
 
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread tarvid
On Tuesday 25 February 2003 05:44 am, James Sparenberg wrote:
 go to freshmeat grab gparted put it on a floppy and let it try and
 rediscover your partitions again.  Then replace your winME with 2000
 *grin*..

 James

gpart rescued one customer after a viral infection had messed up partitions.

defrag and scandisk have destroyed many otherwise semi-functional win9x 
systems.

defrag is an odd game - you risk everything for very marginal improvements. 
there is no sane reason to play such games.

scandisk is a poor substitute for the manufacturers recertification programs

jim tarvid


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread flacycads
This is a good example of the wisdom of having a separate /home partition. 
Rescues, and if need be, reinstalls are then essentially painless. I've 
forgotten exacly how 8.1 cd1 installs, but did you try booting from a linux 
floppy boot disk, and trying to run lilo lilo? Perhaps that might work.

However, defrag is still an essential part of the windows experience- there is 
no getting around it, and the improvement is more than marginal for severely 
fragged drives. I must have defragged window thousands of times over the 
years, and never had any problems whatsoever, so the risk is virtually 
non-existent. I'm still not convinced Linux doesn't need defragging also, and 
I've done a lot of reading on the subject.

Robert Crawford

On Tuesday 25 February 2003 05:44 am, James Sparenberg wrote:
 go to freshmeat grab gparted put it on a floppy and let it try and
 rediscover your partitions again.  Then replace your winME with 2000
 *grin*..

 James

 On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
  Dear All,
 
  I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
  with WinMe. After defrag WinMe I found that I couldn't boot Linux
  because of a kernel panic. Entering in rescue mode I've ran fdisk so my
  new partition table has only two sections:
 
  /dev/hda1/Win95 FAT32 (LBA)
  /dev/hda2/Extended
 
  How do I could fix this problem in order to have my old 3 partitions (W,
  Linux and Linux swap)?
 
  Any hints appreciated
 
  THanks in advance
 
  Antonio Rodriguez
 
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
 
 
 
  __
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread tarvid
On Tuesday 25 February 2003 07:17 am, flacycads wrote:
 This is a good example of the wisdom of having a separate /home partition.
 Rescues, and if need be, reinstalls are then essentially painless. I've
 forgotten exacly how 8.1 cd1 installs, but did you try booting from a linux
 floppy boot disk, and trying to run lilo lilo? Perhaps that might work.

 However, defrag is still an essential part of the windows experience- there
 is no getting around it, and the improvement is more than marginal for
 severely fragged drives. I must have defragged window thousands of times
 over the years, and never had any problems whatsoever, so the risk is
 virtually non-existent. I'm still not convinced Linux doesn't need
 defragging also, and I've done a lot of reading on the subject.

 Robert Crawford

having a separate home partition is wise

having an little used separate partition increases the odds of recovering at 
least that partition when hard disks fail mechanically

leaving some unpartitioned space gives you wiggle room when you decide you 
need to modify partitions

supporting thousands of users is much more peaceful if they never defrag and 
never scandisk

more memory and fewer tsrs and services is almost always a far better route to 
performance

jim tarvid


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread antonio rodriguez
Dear All,

I've downloaded and run gpart, but I'm not getting the results I
expected. By the moment lilo works. I've enterede in rescue mode with
cd1. So I'm able to work in rescue mode, but gpart gives to me:

*Waarning partition (Extended DOS, LBA) ends beyond disk end,.
Number of inconsistencies found: 1

Guessed primary parttion table:
Primary partition(1):
DOS or Windows

Primary partition(2):
Extended DOS

Primary partition(unused):

Primary partition(unused):

So what's the following?

Cheers,

Antonio
 go to freshmeat grab gparted put it on a floppy and let it try and
 rediscover your partitions again.  Then replace your winME with 2000
 *grin*..

 James


 On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
  Dear All,
 
  I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
  with WinMe. After defrag WinMe I found that I couldn't boot Linux
  because of a kernel panic. Entering in rescue mode I've ran fdisk so
my
  new partition table has only two sections:
 
  /dev/hda1/Win95 FAT32 (LBA)
  /dev/hda2/Extended
 
  How do I could fix this problem in order to have my old 3 partitions
(W,
  Linux and Linux swap)?
 
  Any hints appreciated
 
  THanks in advance
 
  Antonio Rodriguez
 
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
 
 
 
 
__
 
  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com









 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread tarvid
i am sure most of us have been told to back up their partition tables - now we 
know why

sanity requires that you grab all the data you can before proceeding

after that you may be able to fix the existing table without formatting

you may need to supply the correct geometry, disk drives lie about that 
routinely

jim tarvid

On Tuesday 25 February 2003 11:40 am, antonio rodriguez wrote:
 Dear All,

 I've downloaded and run gpart, but I'm not getting the results I
 expected. By the moment lilo works. I've enterede in rescue mode with
 cd1. So I'm able to work in rescue mode, but gpart gives to me:

 *Waarning partition (Extended DOS, LBA) ends beyond disk end,.
 Number of inconsistencies found: 1

 Guessed primary parttion table:
 Primary partition(1):
 DOS or Windows

 Primary partition(2):
 Extended DOS

 Primary partition(unused):

 Primary partition(unused):

 So what's the following?

 Cheers,

 Antonio

  go to freshmeat grab gparted put it on a floppy and let it try and
  rediscover your partitions again.  Then replace your winME with 2000
  *grin*..
 
  James
 
  On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
   Dear All,
  
   I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
   with WinMe. After defrag WinMe I found that I couldn't boot Linux
   because of a kernel panic. Entering in rescue mode I've ran fdisk so

 my

   new partition table has only two sections:
  
   /dev/hda1/Win95 FAT32 (LBA)
   /dev/hda2/Extended
  
   How do I could fix this problem in order to have my old 3 partitions

 (W,

   Linux and Linux swap)?
  
   Any hints appreciated
  
   THanks in advance
  
   Antonio Rodriguez
  
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03

 __

   Want to buy your Pack or Services from MandrakeSoft?
   Go to http://www.mandrakestore.com

 
 

  Want to buy your Pack or Services from MandrakeSoft?
  Go to http://www.mandrakestore.com

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread et
On Tuesday 25 February 2003 04:46 am, antonio rodriguez wrote:
 Dear All,

 I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
 with WinMe. After defrag WinMe I found that I couldn't boot Linux
 because of a kernel panic. Entering in rescue mode I've ran fdisk so my
 new partition table has only two sections:

 /dev/hda1/Win95 FAT32 (LBA)
 /dev/hda2/Extended

 How do I could fix this problem in order to have my old 3 partitions (W,
 Linux and Linux swap)?

 Any hints appreciated

 THanks in advance

 Antonio Rodriguez


 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
so let me ask,,,was this MS defrag or a third party (like Norton or some other 
defrag utility?) cause if it was, Linux is not all you might screw up

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread et
On Tuesday 25 February 2003 07:17 am, flacycads wrote:
 This is a good example of the wisdom of having a separate /home partition.
 Rescues, and if need be, reinstalls are then essentially painless. I've
 forgotten exacly how 8.1 cd1 installs, but did you try booting from a linux
 floppy boot disk, and trying to run lilo lilo? Perhaps that might work.

 However, defrag is still an essential part of the windows experience- there
 is no getting around it, and the improvement is more than marginal for
 severely fragged drives. I must have defragged window thousands of times
 over the years, and never had any problems whatsoever, so the risk is
 virtually non-existent. I'm still not convinced Linux doesn't need
 defragging also, and I've done a lot of reading on the subject.
some of the problem may be that it is winME and WINME does not play fair with 
third party defrag utilities unless they were made for winME. if you upgrade 
from WIN98 to WinMe and have defrag utilities from other than MS, they will 
eat the end of your hard drive as well as some DLLs.
but the replace winME with 2000 well ok...




 Robert Crawford

 On Tuesday 25 February 2003 05:44 am, James Sparenberg wrote:
  go to freshmeat grab gparted put it on a floppy and let it try and
  rediscover your partitions again.  Then replace your winME with 2000
  *grin*..
 
  James
 
  On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote:
   Dear All,
  
   I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk
   with WinMe. After defrag WinMe I found that I couldn't boot Linux
   because of a kernel panic. Entering in rescue mode I've ran fdisk so my
   new partition table has only two sections:
  
   /dev/hda1/Win95 FAT32 (LBA)
   /dev/hda2/Extended
  
   How do I could fix this problem in order to have my old 3 partitions
   (W, Linux and Linux swap)?
  
   Any hints appreciated
  
   THanks in advance
  
   Antonio Rodriguez
  
  
   ---
   Outgoing mail is certified Virus Free.
   Checked by AVG anti-virus system (http://www.grisoft.com).
   Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03
  
  
  
   __
  
   Want to buy your Pack or Services from MandrakeSoft?
   Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] kernel panic after defrag in WinjMe

2003-02-25 Thread Ted
On Tuesday 25 February 2003 06:49 am, tarvid wrote:

 gpart rescued one customer after a viral infection had messed up
 partitions.

You can also try testdisk:

http://www.cgsecurity.org/index.html?testdisk.html

For me, it was able to rescue partitions that gpart could not.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com