Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

Problem z dyskiem?

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
Pinochet
n00b
n00b
Posts: 2
Joined: Sun Jan 22, 2006 2:50 am

Problem z dyskiem?

  • Quote

Post by Pinochet » Sun Jan 22, 2006 3:03 am

Witam wszystkich
Po przeszukaniu wszelkich znanych mi źródeł nie udało mi się rozwiązać problemu - dlatego tu piszę :]
PROBLEM(podczas ładowania):
* Checking for root filesystem ...
fsck.ext3: Not a directory while trying to open /dev/hdb3/
/dev/hdb3/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock iscorrupte and you might try running e2fsck with an alternative superblock:
e3fsck -b 8193 <device>

* File system couldn't be fixed :( [!!]
Give root password for maintance
(or type Control-D to continue)
INFO:

Code: Select all

livecd / # fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1531    12297726    c  W95 FAT32 (LBA)
/dev/hda2            1532        4865    26780355    f  W95 Ext'd (LBA)
/dev/hda5            1532        3198    13390146    b  W95 FAT32
/dev/hda6            3199        4865    13390146    b  W95 FAT32

Disk /dev/hdb: 20.0 GB, 20020396544 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        1275    10241406    c  W95 FAT32 (LBA)
/dev/hdb2            1276        1878     4843597+   f  W95 Ext'd (LBA)
/dev/hdb3   *        1879        2429     4425907+  83  Linux
/dev/hdb4   *        2430        2434       40162+  83  Linux
/dev/hdb5            1276        1849     4610623+   b  W95 FAT32
/dev/hdb6            1850        1878      232911   82  Linux swap / Solaris

Disk /dev/hdc: 850 MB, 850526208 bytes
32 heads, 63 sectors/track, 824 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1         824      830560+  83  Linux
livecd / #

livecd / # cat /etc/fstab
/dev/hdb4/              /boot           ext2            noauto,noatime  0 1
proc                    /proc           proc            defaults        0 0
/dev/hdb6/              none            swap            sw              0 0
/dev/hdb3/              /               ext3            noatime         0 1

shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
Co robiłem:
livecd / # e2fsck -c /dev/hdb4
e2fsck 1.37 (21-Mar-2005)
Checking for bad blocks (read-only test): done 162
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/hdb4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hdb4: 12/20080 files (0.0% non-contiguous), 4813/40162 blocks

livecd / # e2fsck -b 8193 /dev/hdb4
e2fsck 1.37 (21-Mar-2005)
/dev/hdb4: clean, 11/20080 files, 2540/40162 blocks
livecd / # e2fsck -b 32768 /dev/hdb4
e2fsck 1.37 (21-Mar-2005)
e2fsck: Invalid argument while trying to open /dev/hdb4

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Potem jeszcze usunołem partycję /dev/hdb4 i utworzyłem ją na nowo nadałem active tak ze po fdisk -l zmieniło sie na:
/dev/hdb3 1879 2429 4425907+ 83 Linux
/dev/hdb4 * 2430 2434 40162+ 83 Linux
Dodam tylko ze uzywalem zarowno wlasnorecznie skompilowanego kernela jak i genkernela i na obu pojawia sie ten sam błąd.
Z góry dziękuję za pomoc
Top
sza_ry
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Wed Jan 11, 2006 5:18 pm
Location: Poland

  • Quote

Post by sza_ry » Mon Jan 23, 2006 7:42 pm

Nigdy się z tym nie spotkałem, ale ponieważ nikt Ci jeszcze nie podrzucił pomysłu coś nazmyślam ;)
Spróbuj może smartctl dowiesz się czy to jest sprzętowe :) ... a tak w nawiasie masz włączoną obsługę SMART w BIOS-e?
Z tego co napisałeś wygląda jakby błędny odczyt dotyczył hdb3 i hdb4, mam rację?
Poza ty dziwnie wygląda podwójna flaga Boot w “fdisk -l” która na dodatek znika po odnowieniu hdb4? Oczywiście sama flaga nie powinna robić takiego zamętu :)
Macbook white
Top
Pinochet
n00b
n00b
Posts: 2
Joined: Sun Jan 22, 2006 2:50 am

  • Quote

Post by Pinochet » Sat Feb 11, 2006 6:57 pm

nie bylo mnie przez jakis czas ale i tak chcialbym sobie odpowiedziec - dla potomnych :]
Problem zostal rozwiazany polowicznie - Reinstal jako ze system byl swierzy poszlo to dosc bezbolesnie.
Co do potwojnej flagi boot nie wiedzialem wczesniej o co chodzi fdisk tak ustawil i bylo ok :] oto moj obecny fdisk -l

Code: Select all

grat linux # fdisk -l            

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1531    12297726    c  W95 FAT32 (LBA)
/dev/hda2            1532        4865    26780355    f  W95 Ext'd (LBA)
/dev/hda5            1532        3198    13390146    b  W95 FAT32
/dev/hda6            3199        4865    13390146    b  W95 FAT32

Disk /dev/hdb: 20.0 GB, 20020396544 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        1275    10241406   1c  Hidden W95 FAT32 (LBA)
/dev/hdb2            1276        2395     8996400    f  W95 Ext'd (LBA)
/dev/hdb3   *        2396        2400       40162+  83  Linux
/dev/hdb4            2401        2434      273105   82  Linux swap / Solaris
/dev/hdb5            1276        1849     4610623+   b  W95 FAT32
/dev/hdb6            1850        2395     4385713+  83  Linux

Disk /dev/hdc: 850 MB, 850526208 bytes
32 heads, 63 sectors/track, 824 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1               1         824      830560+  83  Linux[/list]
Top
qermit
Veteran
Veteran
User avatar
Posts: 1032
Joined: Wed Feb 02, 2005 4:05 pm

Re: Problem z dyskiem?

  • Quote

Post by qermit » Sun Feb 12, 2006 10:05 am

Pinochet wrote: livecd / # cat /etc/fstab
/dev/hdb4/ /boot ext2 noauto,noatime 0 1
proc /proc proc defaults 0 0
/dev/hdb6/ none swap sw 0 0
/dev/hdb3/ / ext3 noatime 0 1

shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
czy nadal masz takie wpisy w /etc/fstab ?
"A co ty masz w swoim LinuXie?" - Dr Qermit
Top
WujekStaszek
n00b
n00b
Posts: 18
Joined: Sat Feb 18, 2006 10:24 pm
Contact:
Contact WujekStaszek
Website

  • Quote

Post by WujekStaszek » Sun Feb 19, 2006 9:43 am

Jesli masz jadro 2.6 to brakuje Ci udev, jesli 2.4 devfsd.
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy