🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #16605

Ayuda de los expertos

#16605
From: Beren Calmost
Date: Sun, 02 Apr 2000 00:00
282 lines
10865 bytes
Pido Ayuda, por que empiezo a desesperarme, y ademas lo hago aqui
en este canal porque sois los mejores en Linux.
La cuestion es que tengo en mi ordenador una partici�n con el Linux,
que me ocupa 1000 Megas, el problema es que esta versi�n es muy anti-
gua y ademas me da grandes problemas para montar el Cd-rom, y para
montar el floppy (realmente no puedo casinunca dependiendo del CD);
por lo tanto mi intenci�n es volver a empezar, es decir formatear el
disco duro, y volver a instalar el Linux, pero el problema es que al
formatearlo, lo que soy capaz de formatear es la unidad primaria de Dos
es decir la de Windows, y tambien soy incapaz de eliminar la partici�n
extendida de Dos (La del Linux).
A continuaci�n os voy a poner que comandos he probado tanto desde
MS-DOS, como desde Linux, y el Resultado obtenido.

Desde Ms-Dos
Mi primera intenci�n fue Usar Fdisk:

                              Microsoft Windows 98
                      Programa de instalaci�n de disco duro
                    (C)Copyright Microsoft Corp. 1983 - 1998

                                 Opciones de FDISK

    Unidad actual de disco duro: 1

    Elija una de las siguientes opciones:

    1. Crear una partici�n o una unidad l�gica de DOS
    2. Establecer la partici�n activa
    3. Eliminar una partici�n o unidad l�gica de DOS
    4. Mostrar informaci�n sobre la partici�n



                              Mostrar informaci�n de la partici�n

    Unidad actual de disco duro: 1

    Partici�n  Estado   Tipo    Etiqueta vol.   MB     Sistema      Uso
     C: 1         A    PRI DOS   RICHARD       3075   FAT32       75%
        2              EXT DOS                 1028               25%

    Espacio total en disco:  4095 MB (1 MB = 1048576 bytes)

    La partici�n extendida contiene unidades l�gicas de DOS.
    �Desea ver la informaci�n de la unidad l�gica (S/N)......?[S]


                      Mostrar informaci�n de la unidad l�gica de DOS

    No se han definido unidades l�gicas

    Tama�o de la partici�n extendida de DOS:  1028 MB (1 MB = 1048576 bytes)

Si intento eliminar cualquiera de las particiones


                   Eliminar una partici�n o una unidad l�gica de DOS

   Unidad actual de disco duro: 1

Al intentar eliminar una de las particiones con la opci�n 3 de arriba
  Elija una de las siguientes opciones:

   1.  Eliminar una partici�n primaria de DOS
   2.  Eliminar una partici�n extendida de DOS
   3.  Eliminar unidades l�gicas en la partici�n extendida de DOS
   4.  Eliminar una partici�n que no es de DOS

Si eligimos la opci�n 1.

                          Eliminar una partici�n primaria de DOS

    Unidad actual de disco duro: 1

    Partici�n  Estado   Tipo    Etiqueta vol.   MB     Sistema      Uso
     C: 1         A    PRI DOS   RICHARD       3075   FAT32       75%
        2              EXT DOS                 1028               25%

    Espacio total en disco:  4095 MB (1 MB = 1048576 bytes)

    No se puede eliminar la partici�n primaria de DOS en la unidad 1
    cuando todav�a existe una partici�n extendida de DOS.
    Presione Esc para continuar

Si elijo la opcion 2
                          Eliminar una partici�n extendida de DOS

    Unidad actual de disco duro: 1

    Partici�n  Estado   Tipo    Etiqueta vol.   MB     Sistema      Uso
     C: 1         A    PRI DOS   RICHARD       3075   FAT32       75%
        2              EXT DOS                 1028               25%

    Espacio total en disco:  4095 MB (1 MB = 1048576 bytes)

    No se puede eliminar la partici�n extendida si existen unidades l�gicas.


* Con lo cual con este comando hago cagar independientemente la opci�n qu
ponga.

Otras opci�nes con las que he probado son archivos ejecutables que tengo
incluidos en la
carpeta desde la cual lanzo el Linux son: RDEV.exe,RESTORB.exe, FIPS.exe,
LOADLIN.exe.

El Archivo Rdev, tiene como salido esto:
usage: rdev IMAGE [ major minor ]

Exemple:
To boot on primary DOS partition (C:): rdev zimage 3 3
Here are the common major/minor paires on LINUX

The 4 partition of the first disk
/dev/hda1 3 1
/dev/hda2 3 2
/dev/hda3 3 3 (this is often C:)
/dev/hda4 3 4
The sub-partition of the extended DOS partition
/dev/hda5 3 5 (this is often D:)
/dev/hda6 3 6
The second hard disk
/dev/hdb1 3 65
/dev/hdb2 3 66
/dev/hdb3 3 67
/dev/hdb4 3 68
The sub-partition of the extended DOS partition
/dev/hda5 3 69
/dev/hda6 3 70
The 4 partition of the first SCSI disk
/dev/sda1 8 1
/dev/sda2 8 2
/dev/sda3 8 3 (this is often C:)
/dev/sda4 8 4
The sub-partition of the extended SCSI DOS partition
/dev/sda5 8 5 (this is often D:)
/dev/sda6 8 6
When booting, look carefully. The kernel prints
which partition it sees

*Me imagino que este programa elimina "algo" al igual que el Mount con estos
parametros
 montan el disco duro, el CD, o el floppy. Aun as� no se como utilizar este
programa.

Otro programa es el LOADLIN cuya salida es:

LOADLIN v1.6 (C) 1994..1996 Hans Lermen <lermen@elserv.ffm.fgan.de>

USAGE:
  LOADLIN @params
  LOADLIN [zimage_file] [options] [boot_params]
    without any params, LOADLIN displays this help message.
    @params:
       params is a DOS file containing all other options
    zimage_file:
       DOS file name of compressed Linux kernel image
    options:
       -v        verbose, show information on params and configuration
       -t        test mode, do all but starting Linux, also sets -v
       -d file   debug mode, same as -t, but duplicates output to "file"
       -clone    ( Please read MANUAL.TXT before using this switch! )
       -n        no translation for root=/dev/...
       -txmode   switch to textmode 80x25 on startup
       -noheap   disable use of setup heap
       -wait=nn  after loading wait nn (DOS)ticks before booting Linux
       -dskreset after loading reset all disks before booting Linux
    boot_params:
       root=xxx  filesystem to be mounted by Linux as "/"
                 (string passed unchanged to the kernel)
            xxx = hex number (e.g. root=201 for /dev/fd1)
                = /dev/mmmn (e.g. root=/dev/hda2)
                       mmm = fd,hda,hdb,sda,sdb...
                       n   = 1..10.. decimal
       ro        mount "/" readonly
       rw        mount "/" read/write
       initrd=x  (for kernels > 1.3.72) load file x into /dev/ram. If FS in
x
                 contains /linuxrc, execute it, and then remount to
root=xxx.
                 If root=/dev/ram, just load, bypass execution of /linuxrc

    for more boot params see PARAMS.TXT or Paul Gortmakers HOWTO:
      http://sunsite.unc.edu/mdw/HOWTO/BootPrompt-HOWTO.html
      http://rsphy1.anu.edu/~gpg109/BootPrompt-HOWTO.html

CPU is in V86-mode (may be WINDOWS, EMM386, QEMM, 386MAX, ...)
You need pure 386/486 real mode or a VCPI server to boot Linux
VCPI is supported by most EMS drivers (if EMS is enabled),
but never under WINDOWS-3.1 or WINDOWS'95.
(However, real DOS-Mode of WINDOWS'95 can have EMS driver with VCPI)
If loading via VCPI you also MUST have:
  1. An interceptable setup-code (see MANUAL.TXT)
  2. Identical Physical-to-Virtual mapping for the first 640 Kbytes

Your current DOS/CPU configuration is:
  load buffer size: 0x00000000     , setup buffer size:  0x3E00
  total memory:     0x00100000
  CPU is in V86 mode
  SetupIntercept: NO
  stat2: cpu_V86, but no VCPI available (check aborted)
  input params (size 0x0000):

  LOADLIN started from DOS-prompt
  You are running under MS-WINDOWS or Windows 95
WARNING: Not enough free memory (load buffer size)


*Este programa no tengo ni pu�etera idea que hace.

El otro programa que deber�a eliminar la partici�nes el FIPS.exe

FIPS version 1.5, Copyright (C) 1993/94 Arno Schaefer

DO NOT use FIPS in a multitasking environment like Windows, OS/2, Desqview,
Novell Task manager or the Linux DOS emulator: boot from a DOS boot disk
first

If you use OS/2 or a disk compressor, read the relevant sections in
FIPS.DOC.

FIPS comes with ABSOLUTELY NO WARRANTY, see file COPYING for details
This is free software, and you are welcome to redistribute it
under certain conditions; again see file COPYING for details.

Press any Key

WARNING: FIPS has detected that it is running under MS-Windows version 4.10
FIPS should not be used under a multitasking OS. If possible, boot from a
DOS
disk and then run FIPS. Read FIPS.DOC for more information.
Partition table:

     |        |     Start      |      |      End       | Start  |Number of|
Part.|bootable|Head Cyl. Sector|System|Head Cyl. Sector| Sector |Sectors  |
MB
-----+--------+----------------+------+----------------+--------+---------+-
---
1    |    yes |   1    0      1|   0Bh| 254  391     63|      63|
6297417|3074
2    |     no |   0  392      1|   05h| 254  522     63| 6297480|
2104515|1027
3    |     no |   0    0      0|   00h|   0    0      0|       0|        0|
0
4    |     no |   0    0      0|   00h|   0    0      0|       0|        0|
0

Checking root sector ... OK

******Which Partition do you want to split (1/2)? 1  *********

Error: Unknown file system: 0Bh

File ERRORS.TXT not found - no verbose messages available

Bye!

*******Which Partition do you want to split (1/2)? 2 ***********

Error: Can't split extended partitions

File ERRORS.TXT not found - no verbose messages available

Bye!

Independientemente la opci�n que introduzca hago Cagar.

Y por �ltimo esta el RESTORRB.exe que no hace m�s que ejecutar el Fips, pero
desde un disquete o
algo as�, no se me pide un disquete, y luego me da error.



Desde Linux, he probado varios comandos, fdisk, fth_format... y con ninguno
he conseguido nada.

Si alguno puede hecharme una mano os lo Agradecer�a la ostia. Gracias de
Antemano, si s�lo habeis,
le�do la mitad de este co�azo de texto.

Salu2... Beren Calmost
Technical Details
Message-ID: <8c659h$812$1@titan.bt.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,e8f735a740230840,start
X-Google-Attributes: gidf86c8,public
From: "Beren Calmost" <richard@usuarios.retecal.es>
Subject: Ayuda de los expertos
Date: 2000/04/02
Message-ID: <8c659h$812$1@titan.bt.es>
X-Deja-AN: 605473172
Content-Transfer-Encoding: 8bit
X-Priority: 3
Content-Type: text/plain; charset=iso-8859-1
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@bt.es
X-Trace: titan.bt.es 954636401 8226 212.22.60.90 (2 Apr 2000 00:46:41 GMT)
Organization: BT Tel. Netnews service (readers)
X-MSMail-Priority: Normal
Mime-Version: 1.0
NNTP-Posting-Date: 2 Apr 2000 00:46:41 GMT
Newsgroups: es.comp.os.linux.programacion