하드 디스크 추가후 기존의 Extended 파티션을 사용 하려면 어떻

misei의 이미지

새로운 하드 디스크 추가후
기존에 사용하던 리눅스의 문서를 현재의 파티션으로 카피 하려고 하는데
mount 를 어떻게 시켜야 할지..
기본적인 마운트를 시키면 아래와 같이 뜨거든요...
방법좀 가르켜 주세요....
# mount -t ext2 /dev/hdb2 /home2
mount wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)

아래는 /dev/hdb 에대한 파티션 정보 입니다. ?
The number of cylinders for this disk is set to 4870.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help) p

Disk /dev/hdb 255 heads, 63 sectors, 4870 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 7 56196 83 Linux
/dev/hdb2 8 4870 39062047+ 5 Extended
/dev/hdb5 8 3566 28587636 83 Linux
/dev/hdb6 3567 3632 530113+ 82 Linux swap

mushim의 이미지

Extended 파티션은 마운트할 수 없습니다.

Extended 파티션을 다시 쪼갠 Logical 파티션을 마운트 해야 합니다.

즉, /dev/hdb5 나 /dev/hdb6 을 마운트할 수 있습니다.

/dev/hdb6 은 swap 으로 지정된것 같으니, 마운트할수 있는 Logical 파티션은 /dev/hdb5 밖에 없는것 같군요.

아마 찾으시는 파티션이 이거일것 같네요.

misei의 이미지

#mount -t ext2 /dev/hdb5 /home2
mount wrong fs type, bad option, bad superblock on /dev/hdb5,
or too many mounted file systems
이러한 메시지가 되네요.

초보 입니다. 많은 가르침을...

문재식의 이미지

misei wrote:
#mount -t ext2 /dev/hdb5 /home2
mount: wrong fs type, bad option, bad superblock on /dev/hdb5,
or too many mounted file systems
이러한 메시지가 되네요.

파티션을 생성한 이후 파일시스템을 생성했는지 궁금하군요.

# mkfs -t ext3 /dev/hdb5
# mount -t ext3 /dev/hdb5 /home2

mushim의 이미지

예전에 이미 마운트해서 쓰던 하드를 다시 마운트할려는 것이기 때문에 새로 파일시스템을 생성하면 안됩니다.

다음 명령은 실행하시면 안됩니다.
>> mkfs -t ext3 /dev/hdb5

추정에 예전 파일시스템 타입이 ext2 가 아니거나, 파일시스템에 손상이 왔거나 둘중하나인것 같습니다.

후자인 경우는 문제가 복잡해지구요, 전자라면 파일시스템 타입을 특별히 지정하지 않으면 자동으로 해당파일시스템이 무엇인지 찾아서 마운트 할것입니다.

mount /dev/hdb5 /home2

문재식의 이미지

Quote:
예전에 이미 마운트해서 쓰던 하드를 다시 마운트할려는 것이기 때문에 새로 파일시스템을 생성하면 안됩니다.

새로운 하드디스크에 파티션을 나누어 이전의 문서를 새 파티션으로 복사한다는 말이 아닌가요?

havebeen의 이미지

파일 시스템을 만들어 주시구 리마운트 해보세요!!

아직 멀었다.. 난 여전히 시작점

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.