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

[debian-users:33120] Re: [Q] How to mkfs ext (NOT ext2)



ä½é‡Žï¼ æµœæ¾ã§ã™ã€‚

In <20020522210218.BCDDE150D5@xxxxxxxxxxxx>,
  on "Thu, 23 May 2002 06:01:25 +0900',
   with "[debian-users:33089] Re: [Q] How to mkfs ext (NOT ext2)",
 "help@xxxxxxxxx" <help@xxxxxxxxx> ã•ã‚“ wrote:

> ã¯ã„〠ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¯ 0.99.pl5-57 ã®ã‚ˆã†ã§ã™ã€‚

ãªã‚‹ã»ã©ã€‚

> 手写ã—ã§ã¯ä¸‹è¨˜ã®ã‚ˆã†ãªçŠ¶æ…‹ã§æ­¢ã¾ã‚Šã¾ã™ã€‚
> 
> Partition check
>  hda: hda1 hda2 < >

パーティションã¯èª­ã‚ã¦ã„ã‚‹ã€ã¨ã€‚

ã¨ã“ã‚ã§ã€ã“ã‚Œã£ã¦

  |   HDD ã« dd 㧠iso9660 を転é€ã—ã¦èµ·å‹•
  |   ã—ãŸã¨ãã¯èµ·å‹•é€”中ã§å¤šåˆ† fstab ã‚’
  |   読ã¿ã“ã‚“ã å¾Œã§ã€ CDROM を探ã—ã«ã„ã£ã¦
  |   見ã¤ã‹ã‚‰ãªãã¦ã‚¨ãƒ©ãƒ¼ã‚’åã„ã¦åœæ­¢ã—ã¾ã™ã€‚

ã®æ™‚ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã§ã™ã‚ˆã­ã€‚

> Ramdisk: 1228800 byetes, starting at 0x10ad00
> Loading 1228800 bytes (1200 blocks) into ram disk
> ..................................................................
> done
> XENIX-fs: magic match failed
> Linux version 0.99.pl5-57 (root@xxxxxxxxxxxxx) 02/14/93 12:07:46

yggdrasil ã§ã™ã‹ã€‚åå‰ã ã‘ã¯èžã„ãŸã“ã¨ãŒã€‚

bootdisk ã¨ã‹ã¯ç„¡ã„ã‚“ã§ã™ã‹ ?  昔㮠Slackware ã ã¨
 minix fs 㪠boot/root ã®çµ„ã¿åˆã‚ã›ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«
ã™ã‚‹ä»•çµ„ãŒã‚ã‚Šã¾ã—ãŸã‚ˆã­ã€‚

ã‚‚ã—ãã‚ŒãŒã‚ã‚Œã°ã€å…ˆã«ãã® boot/root 中ã«å«ã¾ã‚Œã¦
ã„ã‚‹ã¯ãšã® fdisk/mkfs ãªã©ã‚’使ã£ã¦ extfs を作æˆã™ã‚‹
ã¨ã„ã†æ–¹æ³•ãŒä½¿ãˆã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。

> Flushing buffers and inodes for Sony CDROM
> ll_rw_block: trying to read nonexistent block-device 0f00 (32)
> isofs_read_super: bread failed, dev 0xf00 iso_blknum 16
> ll_rw_block: trying to read nonexistent block-device 0f00 (32)
> isofs_read_super: bread failed, dev 0xf00 iso_blknum 16
> /dev/sonycd: Device or resource busy
> /dev/scd0: No Such Device
> /dev/scd1: No Such Device
> /dev/sda: No Such Device
> /dev/sdb: No Such Device
> Unable to mount system CD. Please insert Yggdrasil LGX beta CDROMand hit ENTER
> to continue.

> >ãã®é ƒã®ã‚‚ã®ã ã¨ã€ç¾åœ¨ã®ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ã§ã¯ã™ã‚“ãªã‚Šã¨å‹•ã‹ãªã„
> >å¯èƒ½æ€§ã‚‚ã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。
> 
> 確ã‹ã«ãŠã£ã—ゃるよã†ã«ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ã«ä½•ã‚‰ã‹ã®
> å•é¡ŒãŒã‚ã‚‹ã¨ã¯æ€ã£ã¦ã„ã¾ã™ã€‚
> マザーボード㮠BIOS 設定ã§ã¯ PCI ã‚’ã™ã¹ã¦ disabled ã«
> ã—ã¦ã€å®Ÿéš›ã« ISA ã ã‘ã§æ§‹æˆã—よã†ã¨è€ƒãˆã¦ã„ã¾ã™ã€‚

woody ã ã¨ boch ã¨ã‹ plex86 ã¨ã‹ã®ãƒ‘ッケージもã‚ã‚‹ã¿ãŸã„
ã§ã™ãŒã€ã‚ã®ã¸ã‚“ã¯ä½¿ãˆãªã„ã§ã—ょã†ã‹ã€‚

> >> 2. mkfs ã™ã‚‹ã«ã‚‚ ext2 ã¯ã™ãã«ã‚‚ã§ãã¾ã™ãŒã€
> >>    mkfs.ext ãªã‚‹ã‚‚ã®ãŒã‚ã‚‹ã‹æŽ¢ã›ã¾ã›ã‚“ã§ã—ãŸã€‚

ã¡ã‚‡ã£ã¨æ˜”ã® JE4 ã®ä¸­èº«ã‚’見ã¦ã¿ã¾ã—ãŸãŒã€ãã†ã„ãˆã°
 man page ã«ã¯ mkfs.ext ã¨ã„ã†è¨˜è¼‰ãŒã‚ã‚‹ã‘ã‚Œã©ã‚‚
実際ã®ä¸­èº«ã«ã¯ã©ã†ã‚‚å…¥ã£ã¦ã„ãªã„ã¿ãŸã„ã§ã™ã­ã€‚

ã‚„ã¯ã‚Š ext2 ãŒå‡ºç¾ã—ã¦ã‹ã‚‰ã¯ ext ã¯èª°ã‚‚使ã‚ãªã„ã ã‚ã†ã¨
ã„ã†ã“ã¨ã§æ¶ˆãˆã¦ã—ã¾ã£ãŸã®ã‹ã‚‚。

> Slackware 3.1 ç”±æ¥ã§ 2.0.36 ã¾ã§ä½¿ã£ã¦ã„ãŸ
> ã‚‚ã®ãŒã‚ã‚Šã¾ã™ã®ã§ã€è©¦ã—ã¦ã¿ã¾ã™ã€‚

カーãƒãƒ«ã®ã»ã†ã§ã¯ã‚µãƒãƒ¼ãƒˆã§ãã‚‹ã¨ã—ã¦ã‚‚ã€
ã¾ãš mkfs.ext を見ã¤ã‘ãªã„ã¨ã€ãã‚‚ãも作æˆ
ã§ããªã„ã§ã™ã­ã€‚

> >> ココã¾ã§ã«ã‚„ã£ã¦ã¿ãŸã“ã¨ã¯
> >> ext2 fs ã«ãã ã‚“ã®ãƒ•ã‚¡ã‚¤ãƒ«ç¾¤ã‚’転é€ã—ãŸãŒã€
> >> カーãƒãƒ«ãŒèµ·å‹•ã—㦠fs を読ã¿ã“ã‚€ã‚ãŸã‚Šã¨
> >> 考ãˆã¦ã„ã¾ã™ãŒã€é€”中㧠panic ã—ã¦ã¾ã™ã€‚
> >
> >カーãƒãƒ«ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¯ã„ãã¤ã§ã—ょㆠ?
> 
> ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¯ 0.99.pl5-57 ã§ã™ã€‚

ext2fs.FAQ (93/10/18) ã«ã¯

Q: After the two error messages, I see :
        [EXT II FS 0.2c, 93/03/06, bs=1024, fs=1024, gc=##, bpg=##, ipg=####]
        EXT2-fs warning: mounting unchecked file system
   Does it mean that there is a problem with the file system ?

A: Usually no.
   In fact, the ext 2 fs keeps a valid flag on the disk.  This flag is set to
   0 when the file system is mounted and set to 1 when it is unmounted.  The
   valid flag is checked by e2fsck to know if a file system needs checking (if
   the flag is set to 1, e2fsck assumes that the file system is clean and does
   not check it).

   The root file system is the only fs which cannot be unmounted so the valid
   flag is always set to 0.  When booting, the kernel mounts it and checks its
   valid flag.  As this flag is set to 0, it displays a warning.

   You can safely ignore this warning for the root file system.  Note that it
   is a good idea to run e2fsck on the fs.

   Note that linux 0.99pl10 and above support unmounting the root file system
   by remounting it in read-only mode.  Remounting a file system read-only
   restores the valid flag.  To take advantage of it, you have to use the
   bootutils package.

ã¨ã„ã†è¨˜è¼‰ãŒã‚ã‚‹ã®ã§ã€0.99pl10 ã§ã¯ ext2fs ãŒä½¿ãˆã‚‹ã‚ˆã†ãª
雰囲気ãªã‚“ã§ã™ãŒã€pl5-57 ã¨ã„ã†ã®ã¯ pl10 よりå¤ã„ã®ã‹ãªã€‚

> 一応 HDD ã‚‚ 2GB ã‚„ 1GB æžœã¦ã¯
> 210MB ã‚„ 540MB ãªã©å„種ã¨ã‚Šãã‚ãˆã¦
> 試ã—ã¦ã„ã¾ã™ã€‚
> 昨晩㯠2 æžšç›®ã®ãƒžã‚¶ãƒ¼ãƒœãƒ¼ãƒ‰ã¾ã§èµ·å‹•ã—ãªããªã£ã¦
> 気を失ã†ã‚ˆã†ã«ãƒ•ãƒ†å¯ã—ã¾ã—ãŸã€‚

ãŠç–²ã‚Œã•ã¾ã§ã™ã€‚ã†ã¾ãã„ã£ãŸã‚‰ã¾ãŸæ•™ãˆã¦ãã ã•ã„ã­ã€‚

-- 
 # (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã‚¢ã‚«ã‚¦ãƒŸã‚¬ãƒ¡ã®ãµã‚‹ã•ã¨ã®è¡—)
   <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ­¦ä¿Š)