Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1212 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2  3  4
Auteur Sujet :

hdparm

n°197565
Tux Le Pen​guin
Posté le 01-12-2002 à 14:47:46  profilanswer
 

Reprise du message précédent :

Zaib3k a écrit a écrit :

c cool now j'ai ca au boot :
 
Linux debian 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 AMD Athlon(tm) XP 1600+ AuthenticAMD GNU/Linux
 
 
il detecte mieux mon proc :D




 
ah mais t'es meme pas en 2.4.18... t'es sur un kernel 2.2 :pfff:  
 
bon, la bonne nouvelle, c'est qu'il y a de très grande chance que tes ennuis viennent de là, et si tu fais ce que j'ai mis plus haut, tout devrait rentrer dans l'ordre ;)

mood
Publicité
Posté le 01-12-2002 à 14:47:46  profilanswer
 

n°197566
Zaib3k
Posté le 01-12-2002 à 14:47:48  profilanswer
 

ok je vais faire ca:
 
pour info j'ai mis a jour http://zaib.dyndns.org/test/help/


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197568
Zaib3k
Posté le 01-12-2002 à 14:48:53  profilanswer
 

c parti pour 11 packages a installer
 
 

The following extra packages will be installed:
  cramfsprogs dash initrd-tools kernel-image-2.4.19-386
  kernel-image-2.4.19-586tsc kernel-image-2.4.19-686
  kernel-image-2.4.19-686-smp kernel-image-2.4.19-k6 kernel-image-2.4.19-k7
  kernel-image-2.4.19-k7-smp
The following NEW packages will be installed:
  cramfsprogs dash grub initrd-tools kernel-image-2.4.19-386
  kernel-image-2.4.19-586tsc kernel-image-2.4.19-686
  kernel-image-2.4.19-686-smp kernel-image-2.4.19-k6 kernel-image-2.4.19-k7
  kernel-image-2.4.19-k7-smp
0 packages upgraded, 11 newly installed, 0 to remove and 0  not upgraded.
Need to get 65.6MB of archives. After unpacking 178MB will be used.


 
ya plein de saloperies la dedans  :o


Message édité par Zaib3k le 01-12-2002 à 14:51:43

---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197570
Zaib3k
Posté le 01-12-2002 à 14:50:46  profilanswer
 

le fait que je fasse la plupart des manip par ssh ne risque pa causer des problemes ?
 
on sait jamais  :D


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197574
Tux Le Pen​guin
Posté le 01-12-2002 à 14:53:13  profilanswer
 

Zaib3k a écrit a écrit :

le fait que je fasse la plupart des manip par ssh ne risque pa causer des problemes ?
 
on sait jamais  :D




 
non, par contre tu arrete tout de suite l'install avec ctrl+c


Message édité par Tux Le Penguin le 01-12-2002 à 14:53:26
n°197576
Tux Le Pen​guin
Posté le 01-12-2002 à 14:55:11  profilanswer
 

c'est bon, tu n'as rien installé ?

n°197577
Zaib3k
Posté le 01-12-2002 à 14:55:58  profilanswer
 

ayé g arreté


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197578
Zaib3k
Posté le 01-12-2002 à 14:56:23  profilanswer
 

je me suis arreté la ::
 
 

Get:1 ftp://ftp.fr.debian.org sarge/main dash 0.4.1 [74.7kB]
Get:2 ftp://ftp.fr.debian.org sarge/main cramfsprogs 1.1-3 [19.1kB]
Get:3 ftp://ftp.fr.debian.org sarge/main grub 0.92+cvs20020923-1 [260kB]
Get:4 ftp://ftp.fr.debian.org sarge/main initrd-tools 0.1.34 [15.2kB]
Get:5 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-386 2.4.19-3 [9248kB]
Get:6 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-586tsc 2.4.19-3 [9188kB]
Get:7 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-686 2.4.19-3 [9190kB]
32% [7 kernel-image-2.4.19-686 2483416/9190kB 27%]
debian:/var/log#


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197580
Tux Le Pen​guin
Posté le 01-12-2002 à 14:58:10  profilanswer
 

Zaib3k a écrit a écrit :

ayé g arreté




 
bien, j'ai dit une petite connerie pas méchante, mais c'est inutile d'installer tout ça :ange:
donc tu fais ça plutot :
apt-get install kernel-image-2.4.19-k7 grub
update-grub
grub-install

n°197581
Zaib3k
Posté le 01-12-2002 à 14:58:20  profilanswer
 

youpi, des pilotes ATI pour nux
 
http://www.presence-pc.com/news/index.php3?p=0


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
mood
Publicité
Posté le 01-12-2002 à 14:58:20  profilanswer
 

n°197582
Tux Le Pen​guin
Posté le 01-12-2002 à 14:58:42  profilanswer
 

Zaib3k a écrit a écrit :

je me suis arreté la ::
 
 

Get:1 ftp://ftp.fr.debian.org sarge/main dash 0.4.1 [74.7kB]
Get:2 ftp://ftp.fr.debian.org sarge/main cramfsprogs 1.1-3 [19.1kB]
Get:3 ftp://ftp.fr.debian.org sarge/main grub 0.92+cvs20020923-1 [260kB]
Get:4 ftp://ftp.fr.debian.org sarge/main initrd-tools 0.1.34 [15.2kB]
Get:5 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-386 2.4.19-3 [9248kB]
Get:6 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-586tsc 2.4.19-3 [9188kB]
Get:7 ftp://ftp.fr.debian.org sarge/main kernel-image-2.4.19-686 2.4.19-3 [9190kB]
32% [7 kernel-image-2.4.19-686 2483416/9190kB 27%]
debian:/var/log#






 
très bien, il en était encore au dl, il a rien installé  ;)

n°197583
Zaib3k
Posté le 01-12-2002 à 14:59:28  profilanswer
 

je me doutais bien kil y avait des merdes la dedans :D
 
 
c mieux ca

debian:/var/log# apt-get install kernel-image-2.4.19-k7 grub
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cramfsprogs dash initrd-tools
The following NEW packages will be installed:
  cramfsprogs dash grub initrd-tools kernel-image-2.4.19-k7
0 packages upgraded, 5 newly installed, 0 to remove and 0  not upgraded.
Need to get 9364kB/9733kB of archives. After unpacking 26.5MB will be used.
Do you want to continue? [Y/n] y


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197584
Tux Le Pen​guin
Posté le 01-12-2002 à 14:59:49  profilanswer
 

Zaib3k a écrit a écrit :

youpi, des pilotes ATI pour nux
 
http://www.presence-pc.com/news/index.php3?p=0




 
il supporte les powered by :)

n°197585
Zaib3k
Posté le 01-12-2002 à 15:00:11  profilanswer
 

Tux Le Penguin a écrit a écrit :

 
 
très bien, il en était encore au dl, il a rien installé  ;)




 
les trucs qu'il a dl mais pas installé, ca doit bien etre stocké qq part. je les vire comment ?


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197586
Tux Le Pen​guin
Posté le 01-12-2002 à 15:00:13  profilanswer
 

Zaib3k a écrit a écrit :

je me doutais bien kil y avait des merdes la dedans :D
 
 
c mieux ca

debian:/var/log# apt-get install kernel-image-2.4.19-k7 grub
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  cramfsprogs dash initrd-tools
The following NEW packages will be installed:
  cramfsprogs dash grub initrd-tools kernel-image-2.4.19-k7
0 packages upgraded, 5 newly installed, 0 to remove and 0  not upgraded.
Need to get 9364kB/9733kB of archives. After unpacking 26.5MB will be used.
Do you want to continue? [Y/n] y






 
vi :)

n°197587
Zaib3k
Posté le 01-12-2002 à 15:02:12  profilanswer
 

You are attempting to install an initrd kernel image (version 2.4.19-k7)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
  `do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]


 
je fais koi ? :??:


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197588
Tux Le Pen​guin
Posté le 01-12-2002 à 15:02:39  profilanswer
 

Zaib3k a écrit a écrit :

 
 
les trucs qu'il a dl mais pas installé, ca doit bien etre stocké qq part. je les vire comment ?




 
c'est dans /var/cache/apt/archives/
pour l'effacer proprement :
apt-get clean

n°197589
Tux Le Pen​guin
Posté le 01-12-2002 à 15:03:33  profilanswer
 

Zaib3k a écrit a écrit :

You are attempting to install an initrd kernel image (version 2.4.19-k7)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
  `do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]


 
je fais koi ? :??:




 
tu tappes n puis Entrée
il te pose une question sur lilo, mais il va installer grub après donc on s'en branle  ;)

n°197590
Zaib3k
Posté le 01-12-2002 à 15:05:00  profilanswer
 

Setting up dash (0.4.1) ...
 
Setting up cramfsprogs (1.1-3) ...
 
Setting up grub (0.92+cvs20020923-1) ...
Setting up initrd-tools (0.1.34) ...
 
Setting up kernel-image-2.4.19-k7 (2.4.19-3) ...
/boot/initrd.img does not exist. Installing from scratch, eh?
Or maybe you don't want a symbolic link here. Hmm? Lets See.
I notice that you do not have initrd.img symbolic
link. I can create one for you, and it shall be
updated by newer kernel image packages. This is
useful if you use a boot loader like lilo.
Do you want me to create a link from /boot/initrd.img-2.4.19-k7 to initrd.img?[Yn] y
A new kernel image has been installed, and usually that means
that some action has to be taken to make sure that the new
kernel image is used next time the machine boots. Usually,
this entails running a ``bootloader'' like SILO, loadlin, LILO,
ELILO, QUIK, VMELILO, ZIPL, or booting from a floppy.   (Some
boot loader, like grub, for example, do not need to be run on
each new image install, so please ignore this if you are using
such a boot loader).
 
A new kernel image has been installed at /boot/vmlinuz-2.4.19-k7
 (Size: 645kB)
 
 
 Initial rootdisk image: /boot//initrd.img-2.4.19-k7 (Size: 2716kB)
 
Symbolic links, unless otherwise specified, can be found in /
 
LILO sets up your system to boot Linux directly from your hard
disk, without the need for booting from a boot floppy.
 
 
WARNING
If you are keeping another operating system or another version
of Linux on a separate disk partition, you should not have LILO
install a boot block now. Wait until you read the LILO documentation.
That is because installing a boot block now might make the other
system un-bootable. If you only want to run this version of Linux,
go ahead and install the boot block here. If it does not work, you
can still boot this system from a boot floppy.
 
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes]
Testing lilo.conf ...
Testing successful.
Installing the partition boot sector...
Installation successful.


 
j'aime bien LILO moi  :o


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197593
Tux Le Pen​guin
Posté le 01-12-2002 à 15:08:15  profilanswer
 

Zaib3k a écrit a écrit :

Setting up dash (0.4.1) ...
 
Setting up cramfsprogs (1.1-3) ...
 
Setting up grub (0.92+cvs20020923-1) ...
Setting up initrd-tools (0.1.34) ...
 
Setting up kernel-image-2.4.19-k7 (2.4.19-3) ...
/boot/initrd.img does not exist. Installing from scratch, eh?
Or maybe you don't want a symbolic link here. Hmm? Lets See.
I notice that you do not have initrd.img symbolic
link. I can create one for you, and it shall be
updated by newer kernel image packages. This is
useful if you use a boot loader like lilo.
Do you want me to create a link from /boot/initrd.img-2.4.19-k7 to initrd.img?[Yn] y
A new kernel image has been installed, and usually that means
that some action has to be taken to make sure that the new
kernel image is used next time the machine boots. Usually,
this entails running a ``bootloader'' like SILO, loadlin, LILO,
ELILO, QUIK, VMELILO, ZIPL, or booting from a floppy.   (Some
boot loader, like grub, for example, do not need to be run on
each new image install, so please ignore this if you are using
such a boot loader).
 
A new kernel image has been installed at /boot/vmlinuz-2.4.19-k7
 (Size: 645kB)
 
 
 Initial rootdisk image: /boot//initrd.img-2.4.19-k7 (Size: 2716kB)
 
Symbolic links, unless otherwise specified, can be found in /
 
LILO sets up your system to boot Linux directly from your hard
disk, without the need for booting from a boot floppy.
 
 
WARNING
If you are keeping another operating system or another version
of Linux on a separate disk partition, you should not have LILO
install a boot block now. Wait until you read the LILO documentation.
That is because installing a boot block now might make the other
system un-bootable. If you only want to run this version of Linux,
go ahead and install the boot block here. If it does not work, you
can still boot this system from a boot floppy.
 
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes]
Testing lilo.conf ...
Testing successful.
Installing the partition boot sector...
Installation successful.


 
j'aime bien LILO moi  :o  




 
tu aimes lilo après toutes les insultes qu'il vient de te lancer :heink:
perso j'utilise grub
il est simple
il m'a jamais emmerdé
il est bien :)


Message édité par Tux Le Penguin le 01-12-2002 à 15:08:37
n°197595
Zaib3k
Posté le 01-12-2002 à 15:08:45  profilanswer
 

je fais ca now ou lilo est ok ?
update-grub
grub-install


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197597
Tux Le Pen​guin
Posté le 01-12-2002 à 15:11:14  profilanswer
 

Zaib3k a écrit a écrit :

je fais ca now ou lilo est ok ?
update-grub
grub-install




 
tu fais ça
ça va jarter lilo  :wahoo:  
et tu n'auras plus à t'en occuper par la suite ;)
 
PS : ah oui, à l'avenir si tu installes un autre kernel, au question de lilo tu réponds non, et grub se chargera automatiquement des changements (plus besoin de refaire les commandes si dessous)
 
ensuite tu reboot et tu choisis le kernel 2.4.19
en espérant que tout se passe bien, je croise les doigt pour toi [:joce]

n°197599
Zaib3k
Posté le 01-12-2002 à 15:12:31  profilanswer
 

tu as de drole d'idées :D
 

debian:/var/log# update-grub
Searching for GRUB installation directory ...
No GRUB directory found. To create a template run 'mkdir /boot/grub' first. To install grub, install it manually or try the 'grub-install' command. ### Warning, grub-install is used to change your MBR. ###
 
debian:/var/log# grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
 
  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists
 
INSTALL_DEVICE can be a GRUB device name or a system device filename.
 
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
 
Report bugs to <bug-grub@gnu.org>.


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197600
Zaib3k
Posté le 01-12-2002 à 15:13:26  profilanswer
 

je vais faire le porc et rebooter, on vera bien si lilo boot sur le new kernel  [:joce]


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197602
Tux Le Pen​guin
Posté le 01-12-2002 à 15:14:57  profilanswer
 

Zaib3k a écrit a écrit :

je vais faire le porc et rebooter, on vera bien si lilo boot sur le new kernel  [:joce]  




 
non !!

n°197603
Zaib3k
Posté le 01-12-2002 à 15:15:16  profilanswer
 

zut kernel panic :/


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197605
Tux Le Pen​guin
Posté le 01-12-2002 à 15:16:23  profilanswer
 

j'ai encore dit des bétises  :whistle:  
c'est :
grub-install /dev/hda
update-grub
 
 
décidemment j'y mets de la bonne volonté mais je suis pas doué pour filer un coup de main [:joce] [:kc]

n°197606
Tux Le Pen​guin
Posté le 01-12-2002 à 15:16:56  profilanswer
 

Zaib3k a écrit a écrit :

zut kernel panic :/




 
t'es con quand même sur ce coup là :heink:  :o  :pfff:

n°197607
Zaib3k
Posté le 01-12-2002 à 15:17:32  profilanswer
 

j'avais ma disquette de boot d'origine, c bon ca a demarrer  :whistle:


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197609
Zaib3k
Posté le 01-12-2002 à 15:19:32  profilanswer
 

debian:~# grub-install /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
 
(fd0)   /dev/fd0
(hd0)   /dev/hda
debian:~# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file...
 
Could not find /boot/grub/menu.lst file. Would you like one generated for you? (y/N) y
Updating /boot/grub/menu.lst ... done
 
 
Please note that configuration parameters for GRUB are stored in
/boot/grub/menu.lst . You must edit this file in order to set the options
which GRUB passes to the kernel, as well as the drive which GRUB looks in to
for the kernel.
 
Everything on the line after "kopt=" is passed to the kernel as parameters,
and "groot=" must be set to the partition(in GRUB terms, such as "(hd0,0)" )
which GRUB will load the kernel from.
 
After you have edited /boot/grub/menu.lst , please re-run 'update-grub'.


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197612
Tux Le Pen​guin
Posté le 01-12-2002 à 15:20:55  profilanswer
 

bon, tu bootes sur le cd d'install de la woody
et tu réinstalles le boot

n°197613
Tux Le Pen​guin
Posté le 01-12-2002 à 15:21:18  profilanswer
 

Zaib3k a écrit a écrit :

j'avais ma disquette de boot d'origine, c bon ca a demarrer  :whistle:  




 
 
raaah !  :o

n°197614
Zaib3k
Posté le 01-12-2002 à 15:22:10  profilanswer
 

[:joce]


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197615
Tux Le Pen​guin
Posté le 01-12-2002 à 15:22:13  profilanswer
 

Zaib3k a écrit a écrit :

debian:~# grub-install /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
 
(fd0)   /dev/fd0
(hd0)   /dev/hda
debian:~# update-grub
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file...
 
Could not find /boot/grub/menu.lst file. Would you like one generated for you? (y/N) y
Updating /boot/grub/menu.lst ... done
 
 
Please note that configuration parameters for GRUB are stored in
/boot/grub/menu.lst . You must edit this file in order to set the options
which GRUB passes to the kernel, as well as the drive which GRUB looks in to
for the kernel.
 
Everything on the line after "kopt=" is passed to the kernel as parameters,
and "groot=" must be set to the partition(in GRUB terms, such as "(hd0,0)" )
which GRUB will load the kernel from.
 
After you have edited /boot/grub/menu.lst , please re-run 'update-grub'.






 
c'est bon  :wahoo:  
 
reboot sur le 2.4.19 et refais tes tests

n°197618
Zaib3k
Posté le 01-12-2002 à 15:25:42  profilanswer
 

ca chie, apres avoir selectionné le kernel, j'ai un truc du style :
 
 
 
root(hd0,0)
 
filesystem type unknow partition type 0x82
 
kernel machin
 
 
press any key ...
 
j'ai l'impression kil veux booter sur la swap ( hda1) et mon / est sur hda2 :/


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197619
Zaib3k
Posté le 01-12-2002 à 15:26:42  profilanswer
 

reboot sur disquette :/


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197620
Tux Le Pen​guin
Posté le 01-12-2002 à 15:27:18  profilanswer
 

Zaib3k a écrit a écrit :

ca chie, apres avoir selectionné le kernel, j'ai un truc du style :
 
 
 
root(hd0,0)
 
filesystem type unknow partition type 0x82
 
kernel machin
 
 
press any key ...
 
j'ai l'impression kil veux booter sur la swap ( hda1) et mon / est sur hda2 :/




 
pfff, c'est pénible :pfff:  
 
bon, tu rebootes comme tu peux, et tu fais :
cat /boot/grub/menu.lst
mount
ls -l /
ls -l /boot

n°197621
Zaib3k
Posté le 01-12-2002 à 15:28:20  profilanswer
 

ca reboot :D
 
tu dois avoir envie de tout casser la, non ?  :D


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197622
Zaib3k
Posté le 01-12-2002 à 15:30:25  profilanswer
 

debian:~# cat /boot/grub/menu.lst
# /boot/grub/menu.lst - See: grub(8), info grub, update-grub(8)
# --------------------       grub-install(8), grub-floppy(8),
#                            grub-md5-crypt, /usr/share/doc/grub
#                            and /usr/share/doc/grub-doc/.
 
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default         0
 
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         5
 
# Pretty colours
color cyan/blue white/blue
 
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
 
#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#
 
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
 
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below
 
## DO NOT UNCOMMENT THEM, Just edit them to your needs
 
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda1 ro
 
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
 
## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true
 
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false
 
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single
 
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all
 
## ## End Default Options ##
 
title           Debian GNU/Linux, kernel 2.4.19-k7
root            (hd0,0)
kernel          /boot/vmlinuz-2.4.19-k7 root=/dev/hda1 ro
initrd          /boot/initrd.img-2.4.19-k7
savedefault
boot
 
title           Debian GNU/Linux, kernel 2.4.19-k7 (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.4.19-k7 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.4.19-k7
savedefault
boot
 
title           Debian GNU/Linux, kernel 2.2.20-idepci
root            (hd0,0)
kernel          /boot/vmlinuz-2.2.20-idepci root=/dev/hda1 ro
savedefault
boot
 
title           Debian GNU/Linux, kernel 2.2.20-idepci (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.2.20-idepci root=/dev/hda1 ro single
savedefault
boot
 
### END DEBIAN AUTOMAGIC KERNELS LIST


 
 

debian:~# mount
/dev/hda2 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)


 

debian:~# ls -l /
total 104
drwxr-xr-x    2 root     root         4096 Dec  1 17:02 bin
drwxr-xr-x    3 root     root         4096 Dec  1 17:19 boot
drwxr-xr-x    2 root     root         4096 Oct 30 19:32 cdrom
drwxr-xr-x    9 root     root        24576 Dec  1 17:28 dev
drwxr-xr-x    2 root     root         4096 Nov  7 22:37 divx
drwxr-xr-x   50 root     root         4096 Dec  1 17:28 etc
drwxr-xr-x    2 root     root         4096 Nov  4 20:50 floppy
drwxrwsr-x    4 root     staff        4096 Nov 10 18:38 home
drwxr-xr-x    2 root     root         4096 Oct 30 19:32 initrd
lrwxrwxrwx    1 root     root           26 Dec  1 17:04 initrd.img -> /boot/initrd.img-2.4.19-k7
drwxr-xr-x    5 root     root         4096 Dec  1 16:33 lib
drwx------    2 root     root        16384 Oct 30 19:28 lost+found
drwxr-xr-x    3 root     root         4096 Nov  7 21:32 mnt
drwxr-xr-x    2 root     root         4096 Oct 30 19:32 opt
dr-xr-xr-x   41 root     root            0 Dec  1 17:28 proc
drwx------    3 root     root         4096 Dec  1 15:59 root
drwxr-xr-x    2 root     root         4096 Dec  1 17:02 sbin
drwxrwxrwt    2 root     root         4096 Dec  1 17:28 tmp
drwxr-xr-x   12 root     root         4096 Dec  1 16:32 usr
drwxr-xr-x   15 root     root         4096 Nov  9 19:19 var
lrwxrwxrwx    1 root     root           22 Dec  1 17:04 vmlinuz -> boot/vmlinuz-2.4.19-k7
lrwxrwxrwx    1 root     root           26 Oct 30 19:29 vmlinuz.old -> boot/vmlinuz-2.2.20-idepci


 

debian:~# ls -l /boot
total 4756
-rw-r--r--    1 root     root       224124 Oct 30 19:29 System.map-2.2.20-idepci
-rw-r--r--    1 root     root       425990 Oct  6 14:02 System.map-2.4.19-k7
-rw-r--r--    1 root     root          512 Oct 30 19:33 boot.0300
-rw-r--r--    1 root     root         3888 Oct 30 19:29 config-2.2.20-idepci
-rw-r--r--    1 root     root        38460 Oct  6 12:27 config-2.4.19-k7
drwxr-xr-x    2 root     root         4096 Dec  1 17:19 grub
-rw-r--r--    1 root     root      2781184 Dec  1 17:04 initrd.img-2.4.19-k7
-rw-------    1 root     root        27136 Dec  1 17:04 map
-rw-r--r--    1 root     root       665509 Oct 30 19:29 vmlinuz-2.2.20-idepci
-rw-r--r--    1 root     root       660404 Oct  6 14:02 vmlinuz-2.4.19-k7


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
n°197623
Tux Le Pen​guin
Posté le 01-12-2002 à 15:33:01  profilanswer
 

Zaib3k a écrit a écrit :

ca reboot :D
 
tu dois avoir envie de tout casser la, non ?  :D  




 
ça commence à me gonfler un peu oui [:joce]
mais je vais pas te laisser dans la merde comme ça ;)
je t'aide jusqu'à ce que ça marche :o

n°197624
Zaib3k
Posté le 01-12-2002 à 15:34:26  profilanswer
 

Tux Le Penguin a écrit a écrit :

 
 
ça commence à me gonfler un peu oui [:joce]
mais je vais pas te laisser dans la merde comme ça ;)
je t'aide jusqu'à ce que ça marche :o  




 
 :)  c sympa
 
tu peux passer la main a un autre linux 3|337 si tu veux  [:bigsmiley]


---------------
Le droit à la différence s'arrête là où ça commence à m'emmerder sérieusement.
mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4

Aller à :
Ajouter une réponse
 

Sujets relatifs
Plus de sujets relatifs à : hdparm


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR