sudo head /dev/sdaJos siellä on GRUB, niin pitäisi löytyä tulosteesta sana GRUB ja mm. "Loading stage 1.5".
ville@thepontiset:~$ sudo head /dev/sda
�H�м|�PP|�PW����˽��8n| u���������It8,t����� ����u���Y|1�リミ� ��@|<�t��R�}�4�tT�A��U�ZRrI��U�uC�A|��u��t7f�L�|�D�f�D|��Df��Dpf1��Df�D
�B�r�p�}�s
�����|�D�f1���@f�D1҈�������@�1�����f�f�D|f1�f�4�T
f1�f�t�T
�D
���L ;}<�T
�ъl
Z�t
�pテ1۸�r*�ÎH|`�ロ1�1����a�&B|��}�@¾£è8 ë¾£è0 ¾£è* ëþGRUB G␊⎺└ H▒⎼␍ D␋⎽┐ R␊▒␍ E⎼⎼⎺⎼ » ´Í¬< ┤ôà 8Ú
)T þÿÿþÿÿ3°▒3; þÿÿþÿÿ°÷UªRV¾!è*^¿ø!°-£ ���|�t>f�f1��9E�E)Ef��Df��DpPf1��Df�D
�B����p�Vf�f1�f�4�T
f1�f�t�T
�D
;}t�*D
���L�E)Ef�T
�ъl
ZR�t
P�pテ1۴�rF�ÎEX��E`����1�1�ロ����!�`a�}�<���.��!�KZ�"�!�?��!�7�#!�1��Loading stage1.5.
GeomRead Error��ÍF< ┤òà �p"���0.97���/boot/grub/stage2 /boot/grub/menu.lst�1�リミタgf�-�$f��f���g��$�f�a�x?�,@)�0���������������D�%��f�D$f�%��á(@��h?�L$
�Qf��gf�-%@% �f��"�f�f�リタミ�$����$�ĉš��$1�@%����$�$�����ĉ�f� リタミ�u# �f�"�f��#f1�リタミ�f�U��VS�Ef��f1���f���U
f�������؎����1�リf�2�����[^]�U��SWV�E�ŊE��f�����u�U
����A��U�r�ã "À┤á┤0Û°è¢þÿÿØ[]ÃUåSWèÖþÿÿÍä┤öÁ?┤´◆ã°è≤þÿÿ┌ð@£1ÀÈ$?£ÀéÌè@£��f�������^_[]�U��S�U
1ÀØ_[]ÃUS\$
èþÿÿû°├Ͱë´Íðè+þÿÿ°Ø[]ÃT$◆³è_þÿÿÐ0ÿ´Í°è
þÿÿ▒ðð ÿÿ Ï ÿÿ Ï ÿÿ ÿÿ ' % Uåì4┘ èYÿÿÿÇ$ £? èHÿÿÿø$ ì? £? " £è? XYEèPRèã Ä
À┤öEü┤
Ç? ÿ ë
ÉÃUåWVSìMþº
ÈÓ1Ò÷óú BWB0º
sudo head /dev/sda | strings
Kylläpä vaan näkyy. :)
Vielä kun osais lukea tuota hexaa/konekieltä tuossa selkokielisen ympärillä :D
http://opensuse.fi/keskustelu/index.php?topic=2254.0
:~$ hwinfo --disk
23: IDE 00.0: 10600 Disk
[Created at block.222]
UDI: /org/freedesktop/Hal/devices/storage_serial_1ATA_FUJITSU_MHW2160BH_PL_K10NT792YMBF
Unique ID: mE25.eh7bL3QnSy0
Parent ID: w7Y8.PCDGJP0W86B
SysFS ID: /block/sda
SysFS BusID: 0:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
Hardware Class: disk
Model: "FUJITSU MHW2160B"
Vendor: "FUJITSU"
Device: "MHW2160B"
Revision: "891F"
Driver: "ahci", "sd"
Driver Modules: "ahci"
Device File: /dev/sda
Device Files: /dev/sda, /dev/disk/by-id/scsi-1ATA_FUJITSU_MHW2160BH_PL_K10NT792YMBF, /dev/disk/by-id/ata-FUJITSU_MHW2160BH_PL_K10NT792YMBF, /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0
Device Number: block 8:0-8:15
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #4 (SATA controller)
albert@kompakkitest:~$ 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
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
[b] --recheck probe a device map even if it already exists[/b]
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>.
albert@kompakkitest:~$
albert@kompakkitest:~$ grub-install --recheck /dev/sda
rm: tiedostoa ”/boot/grub/device.map” ei voi poistaa: Lupa evätty
rm: tiedostoa ”/boot/grub/stage1” ei voi poistaa: Lupa evätty
albert@kompakkitest:~$
albert@kompakkitest:~$ sudo grub-install --recheck /dev/sda
[sudo] password for albert:
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory ... found: /boot/grub
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
xfs_freeze: specified file ["/boot/grub"] is not on an XFS filesystem
Installing GRUB to /dev/sda as (hd0)...
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/sda
albert@kompakkitest:~$
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,0)
Error 21: Selected disk does not exist
grub> root (hd0,0)
Error 21: Selected disk does not exist
grub>
grub> root (hd0)
Error 21: Selected disk does not exist
grub> root /dev/hd0
Error 11: Unrecognized device string
grub> root /dev/sda,1
Error 11: Unrecognized device string
grub> root /dev/sda
Error 11: Unrecognized device string
grub> root /dev/sda0
Error 11: Unrecognized device string
grub> root (hd0.0
Error 11: Unrecognized device string
grub>
grub-install --recheck /dev/sda
Kirjoittanut: ubpappa
Lainaus
Koneessa kaksi kovalevyä, ja pitäisi selvittää
kummalla levyllä ne fyysisesti sijaitsevat.
Millä selviää ??
« Vastaus #7 : 02.10.08 - klo:16:02 »
Vastaa lainaten
Olisiko tässä paikka sille, että joku asian osaava laittaisi
selvällä suomenkielellä
sellaisen ohjeen, missä kerrotaan
myös perusteet,
kuinka ohjataan nämä kikkareet haluttuun paikkaan järjestelmässä, missä useampia käyttöjärjestelmiä....
varsinkin, kun tuo ms tuntuu tekevän ihan omiaan Angry Huh
.
...se niistä linuxwikeistä sitten... ei liene siis lainkaan ihme jos immeisillä jatkuvasti päreet ja hihat palaa... itse kullakin ajoittain... wikiwiki...linuxwiki... höh.
.
.
Jotta semmonen insinöörinplanttujen muistio se wiki yhä on.
Ei niitä ohjeeksi ihmisille edelleenkään tarvitse esitellä. Ei onnistu. MOT. ???
.
.
jotta joku joka seuraavan kerran jotain linuxwikiä wäkertää, tekisi siitä asiallisen sisällöltään sekä luettavan ja selkeän.
Jossei osaa... niinkuin minäkään en... tekisi sitten sitä mitä osaa...
...ei tuollasesta kuitenkaan apua kelleen ole. Anteeksi vain.
.
Hexa_Desimaali on ainoo tietäjä joka ees näkee vaivaa ja lukee noita tulosteita, muuallakin...
Btw, mikäs tämä koko homman pointti on. Mitä on tarkalleen ottaen tarkoitus tehdä? Ehkäpä silloin tulee parempia vastauksiakin.
Eikö tällöin täytyisi lähteä siitä, että käynnistyslohkossa olisi vain grub, jolle kaikissa
tilanteissa kerrottaisiin tuleva käynnistettävä järjestelmän perustieto, eikä mikään
yksittäinen järjestemä saisi erivapauksia.