[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:35156] Re: BootFloppyã§System halted



²–ì—•l¼‚Å‚·B

In <20021007233342.02b4e039.masaki@xxxxxxxxxxxxxxxxx>,
  on "Mon, 7 Oct 2002 23:33:51 +0900',
   with "[debian-users:34790] Re: BootFloppy’¤ÇSystem halted",
 ‰ª–{@³Ž÷ <masaki@xxxxxxxxxxxxxxxxx> ‚³‚ñ wrote:

>> ƒtƒƒbƒs[쬂̃^ƒCƒ~ƒ“ƒO‚ÅuƒTƒCƒY‚ª‘å‚«‚¢‚̂ŃJ[ƒlƒ‹ƒ[ƒ_‚ł̓[
>> ƒh‚Å‚«‚È‚¢Dlilo‚ðŽg‚¤•K—v‚ª‚ ‚év‚Æ‚¢‚¤‚悤‚ÈŽïŽ|‚̃ƒbƒZ[ƒW‚ªo‚Ä‚¢
>> ‚Ü‚µ‚½D
>
> Šm‚©‚É‚»‚ñ‚ȃƒbƒZ[ƒW‚ªo‚Ä‚¢‚Ü‚µ‚½B‚µ‚©‚µA‚Ç‚¤‚â‚Á‚ă[ƒ_‚ðLILO‚É•ÏX
> ‚·‚é‚Ì‚©•ª‚©‚è‚Ü‚¹‚ñBƒJ[ƒlƒ‹ƒCƒ[ƒW‚ð쬂·‚é‚Æ‚«‚ɉ½‚ç‚©‚̃IƒvƒVƒ‡ƒ“‚ð
> Žw’è‚·‚é‚Ì‚©‚ÆŽv‚¢Bman make-kpkg‚âman kernel-img.conf‚ð’­‚ß‚Ä‚¢‚½‚Ì‚Å‚·‚ªA
> “ljð—Í‚ª‘«‚è‚È‚¢‚½‚ß‚©AŒˆ‚ß‚Ä‚Æ‚È‚é‹Lq‚ðŒ©‚Â‚¯‚邱‚Æ‚ªo—ˆ‚Ü‚¹‚ñ‚Å‚µ‚½B

    if ($size >= 520192) {
      print STDERR "Please note that the system size is $size\n";
      print STDERR "This is greater than the size that the kernel\n";
      print STDERR "loader supports on i386 machines. What this\n";
      print STDERR "means is that you need to use lilo to boot\n";
      print STDERR "this kernel on i386 machines; the floppy is\n";
      print STDERR "not going to be sufficient by itself on an \n";
      print STDERR "i386 box. Of course, things may have changed since\n";
      print STDERR "July 2000, when this diagnostic was written. Your\n";
      print STDERR "Mileage may indeed vary. Please consider yourselves\n";
      print STDERR "warned.\n";
      print STDERR "Please hit return to continue.";
      $answer=<STDIN>;

ƒtƒƒbƒs[‚Ìì¬‚Í kernel-image-<version> ‚Ì postinst ‚Å
ŽÀs‚³‚ê‚Ü‚·‚ªA‚±‚±‚ŃJ[ƒlƒ‹‚̃tƒ@ƒCƒ‹ƒTƒCƒY‚ª 520192 (508KB) 
ˆÈã‚ÌꇂÉ

uƒVƒXƒeƒ€‚̃TƒCƒY‚ªƒJ[ƒlƒ‹ƒ[ƒ_[‚̈µ‚¦‚é”͈͂ð
’´‚¦‚Ä‚¢‚Ü‚· (‚½‚¾‚µ i386 ‚Ìê‡)B‚±‚̃J[ƒlƒ‹‚ð
i386 ã‚Å‹N“®‚·‚邽‚ß‚É‚Í lilo ‚ª•K—v‚Å‚·B
‚±‚̃tƒƒbƒs[‚Å‚Í‚¨‚»‚ç‚­‹N“®‚Å‚«‚È‚¢‚Å‚µ‚傤B
‚±‚̃ƒbƒZ[ƒW‚ª‘‚©‚ꂽ‚Ì‚Í 2000”N7ŒŽ‚Å‚·‚ªA
‚à‚¿‚ë‚ñ‚»‚êˆÈ~‚É‚È‚É‚©•Ï‰»‚ª‚ ‚Á‚½‚©‚à‚µ‚ê‚Ü‚¹‚ñB
‚â‚è•û‚Í‚¢‚ë‚¢‚ë‚ ‚é‚Å‚µ‚傤B
‚Æ‚è‚ ‚¦‚¸Œx‚ª‚ ‚Á‚½‚±‚Æ‚ÍŠo‚¦‚Ä‚¨‚¢‚Ä‚­‚¾‚³‚¢B
‘±‚¯‚é‚Ȃ烊ƒ^[ƒ“‚ð‰Ÿ‚µ‚Ä‚Ëv

‚Æ‚¢‚¤ƒƒbƒZ[ƒW‚ªo‚邱‚Æ‚É‚È‚Á‚Ä‚Ü‚·‚ËB

‚±‚ê‚Å쬂³‚ê‚é‹N“®ƒtƒƒbƒs[‚Í’Pƒ‚ɃJ[ƒlƒ‹ƒtƒ@ƒCƒ‹‚ð
ƒtƒƒbƒs[‚Ƀxƒ^‘‚«‚µ‚Ä‚¢‚邾‚¯‚Å‚·B

          $ret = system '/bin/dd', "if=$imageloc", "of=/dev/fd$drive";
          last MKBOOT if $ret;
          $ret = system '/usr/sbin/rdev', "/dev/fd$drive", "$rootdevice";
          last MKBOOT if $ret;
          $ret = system '/usr/sbin/rdev', '-R', "/dev/fd$drive", '1';

‚±‚Ìê‡A‹N“®‚̓J[ƒlƒ‹‚ªŽ©‘O‚Å—pˆÓ‚µ‚Ä‚¢‚éƒ[ƒ_[‚É‚æ‚Á‚Ä
ŽÀs‚³‚ê‚Ü‚·‚ªA‚±‚ꂪ 508KB ‚Ü‚Å‚µ‚©‘Ήž‚µ‚Ä‚¢‚Ü‚¹‚ñB

ƒJ[ƒlƒ‹ƒ\[ƒ‹ƒcƒŠ[‚Ì arch/i386/boot/bootsect.S ‚É

 * NOTE! currently system is at most (8*65536-4096) bytes long. This should 
 * be no problem, even in the future. I want to keep it simple. This 508 kB
 * kernel size should be enough, especially as this doesn't contain the
 * buffer cache as in minix (and especially now that the kernel is 
 * compressed :-)

‚Æ‘‚©‚ê‚Ä‚¢‚Ü‚·B

508KB ˆÈã‚̃J[ƒlƒ‹‚Å‹N“®‚·‚é‚É‚Í lilo/grub/loadlin/syslinux ‚È‚Ç‚ª
•K—v‚Å‚·B(i386 ‚Ìꇂł·)

>> Ž„‚Í‚»‚ÌŒã‚Ù‚Á‚½‚ç‚©‚µ‚É‚µ‚Ä‚¢‚Ü‚·‚ªClilo‚Ń[ƒh‚µ‚Ä‚Ý‚Ä‚Í‚¢‚©‚ª‚Å‚µ‚傤‚©?
>
> Ž„‚à‚Ù‚Á‚½‚ç‚©‚µ‚Å—Ç‚¢‚ñ‚Å‚·‚ªA–œ‚ªˆêƒn[ƒhƒfƒBƒXƒN‚©‚çƒu[ƒg‚µ‚È‚­‚È‚Á‚½Žž‚Ì
> ‚±‚Æ‚ðl‚¦‚é‚ÆA”O‚Ì‚½‚ß‚Éì‚Á‚Ä‚¨‚«‚½‚¢‚Å‚·B¡‚Í­‚µ‚¸‚‚¢‚ç‚È‚¢‹@”\‚ðí‚Á‚Ä
> ‚¢‚Á‚ÄA‚È‚ñ‚Æ‚©ƒtƒƒbƒs[‚ÉŽû‚Ü‚é‚悤‚É‚µ‚Ä‚¢‚é‚Æ‚±‚ë‚Å‚·BLoadlin‚Á‚Ä‚»‚ñ‚È‚É
> ƒfƒJ‚¢‚Ì‚©‚È‚ H 

Loadlin ‚Å‹N“®‚³‚¹‚é‚Ì‚Å‚·‚© ? Loadlin ‚Í DOS ‚ð•K—v‚Æ‚·‚é‚Ì‚ÅA
ƒtƒƒbƒs[‚Å‚Í‚«‚Ñ‚µ‚¢‚Ì‚Å‚Í‚È‚¢‚Å‚µ‚傤‚©B

‹Ù‹}—p‚Ì‹N“®ƒtƒƒbƒs[‚É‚·‚é‚Ì‚Å‚ ‚ê‚ÎAsyslinux ‚Í‚¢‚©‚ª‚Å‚·‚© ?
DOS ƒtƒH[ƒ}ƒbƒg‚̃tƒƒbƒs[ (‹N“®—p‚Å‚È‚­‚Ä‚¢‚¢‚Å‚·) ‚É
ƒJ[ƒlƒ‹ƒtƒ@ƒCƒ‹‚ð LINUX ‚Æ‚¢‚¤–¼‘O‚ŃRƒs[‚µ‚ÄA

  syslinux /dev/fd0

‚ðŽÀs‚·‚邾‚¯‚Å‚·Bˆê“xƒtƒƒbƒs[‚ðì‚Á‚Ä‚µ‚Ü‚¦‚ÎAV‚µ‚¢
ƒJ[ƒlƒ‹‚É“ü‚ꊷ‚¦‚鎞‚àA’P‚É‚»‚̃tƒƒbƒs[ã‚̃J[ƒlƒ‹
ƒtƒ@ƒCƒ‹‚¾‚¯“ü‚ꊷ‚¦‚é (‚ ‚é‚¢‚ÍV‚µ‚¢ƒJ[ƒlƒ‹‚Ō¢ƒJ[ƒlƒ‹‚ð
ã‘‚«‚·‚é) ‚¾‚¯‚Å OK ‚Å‚·B

Ú×‚Í syslinux ƒpƒbƒP[ƒW‚ðƒCƒ“ƒXƒg[ƒ‹‚µ‚Ä
 /usr/share/doc/syslinux.doc.gz ‚ð‚¨“Ç‚Ý‚­‚¾‚³‚¢B

‚Å‚ÍB

-- 
 ” (‚킽‚µ‚Ì‚¨‚¤‚¿‚Í•l¼ŽsAƒAƒJƒEƒ~ƒKƒ‚̂ӂ邳‚Æ‚ÌŠX)
   <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (²–ì@•r)