Jump to content
Sign in to follow this  
makcode

Partition Type Usb Harddisk

Recommended Posts

hm, mislim da mi Shadowman moze ovjde pomoci.

Ja imam jedan USB Harddisk 80GB. Taj je bio Formatiran NTFS, i mogao sam ga u linuxu bez problema Mountati (Automatski je). Posto hocu da kopiram sve fajlove na njega da mogu ih citati i na Windowsu moram uzeti FAT32.. tako da sam instalirao onaj program parted (gparded sa GUI).

Snjim sam malo cacko da sam na kraju formatirao taj disk sa ext3 file sistemom. Sad mi je problem. Odkad sam ga formatiro u taj ext3 nemogu vise sa usb harddiskom nista. Nece nikako da ga mounta. On je u /dev/sda bio.. sad nema nista.. mrsko mi otvarati pc, da prikljucim disk na IDE, tako bi ga mogao formatirati ponovo.. ali mora i ovako nekako moci, samo neznam kako dalje...

ako im ko kakav tip. Nek javi

pozdrav
makcode

Share this post


Link to post
Share on other sites

hm, cudno skroz.. nisam ga palio paar sati taj harddisk

sad kad sam ovo ponovo upalio.. pogledo sam /var/log/messages

i evo:

Apr 10 23:15:26 localhost kernel: usbcore: registered new driver usb-storage
Apr 10 23:15:26 localhost kernel: USB Mass Storage support registered.
Apr 10 23:15:26 localhost usb.agent[12246]: usb-storage: loaded successfully
Apr 10 23:15:31 localhost kernel: Vendor: WDC WD80 Model: 0BB-55HEA0 Rev: 0 0
Apr 10 23:15:31 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00
Apr 10 23:15:31 localhost kernel: SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
Apr 10 23:15:31 localhost kernel: SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)

nasao sam je..

sa parted sam je mogao selektirati i napravio sam fat32 particiju..

evo /etc/fstab

proc /proc proc defaults 0 0
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda1 /mnt/win ntfs ro,dmask=0222,fmask=0333 0 0


sad cu probati dali ce raditi..

hvala puno jos jednom za tip!

Share this post


Link to post
Share on other sites

evo sad sam je mogao mountati.. ali zajebano je samo root rights su na njemu...

jel moram sta u /etc/fstab upisati?

nisam se jos trainiro u tome..

bilo bi dobro da ko usb stik mogu write na njega.. sad mi mounta bez problema i na desktopu dobijem display i sve to... ali nemogu write nista na nju

Share this post


Link to post
Share on other sites

/dev/sda1 /gdje/montiras vfat -o users,auto,umask=0000 0 0

na primjer. Za permissions, trik je u umask opciji

Share this post


Link to post
Share on other sites

hej shadow, tacno sam to htjeo :)

super radi, hvala ti za tip taj. Super stvar radi sve. :D

sto volim linux hehe, nema da nece kad mora :)


Lijep Pozdrav
mujo

Share this post


Link to post
Share on other sites

Ja sam se sinoc odlucio da kopiram sve fajlove na USB HD, da mogu reinstalirati komplettni sistem. Bez ikakvih NTFS diskova i windows-a tako da sad u cjeloj kuci nema vise Windows :).

Sad mi je problem, kad hocu da mountan drugu particiju na svom USB Disku, nece da radi. Prva particija je FAT32.. a druga je raiserfs.
evo:

root@debian-mm:/ # mount /dev/sda2 /mnt/usbhd/
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@debian-mm:/ #

kako znam, raiserfs nije los filesistem? Prije reinstallacije sam mogao mountati tako disk. Cudi me sto sad vise nemoze.

Lijep Pozdrav
makcode

Share this post


Link to post
Share on other sites

tacno tako sam napravio sve. Onaj line sam ubacio u /etc/fstab ali kad Boot-am onda mi soji da je taj line bad. Direktorije su sve napravite, pa sad neznam sta mu je.

evo u logovima mi stoji ovo:

Apr 11 17:36:48 localhost kernel: ReiserFS: sda2: found reiserfs format "3.6" with standard journal
Apr 11 17:36:51 localhost kernel: ReiserFS: sda2: using ordered data mode
Apr 11 17:36:51 localhost kernel: ReiserFS: sda2: warning: sh-458: journal_init_dev: cannot init journal device 'unknown-block(48,10)': -6
Apr 11 17:36:51 localhost kernel: ReiserFS: sda2: warning: sh-462: unable to initialize jornal device
Apr 11 17:36:51 localhost kernel: ReiserFS: sda2: warning: sh-2022: reiserfs_fill_super: unable to initialize journal space


neizgleda bas dobro.. shit, nisam trebo taj raiserfs uzmati


poz
makcode

Share this post


Link to post
Share on other sites

Aha,

a mogul ja nekako konvertirati taj riserfs u drugi filesystem, ali da mi neizbrise fajlove?

fakat neznam sta bi mogo uraditi... ajoj, odose mi svi fajlovi :D

Share this post


Link to post
Share on other sites

a sto ja imam sranje od USB HardDiska, sad ga vec 2 sahta probavam da se mounta, ama nikako nece.. pravo smece.. haj ebiga.. sad sam ga ugasio jednu paar sati, tako sam i jucer, pa je odjednom proradilo.

Harddisk je WD 80GB sa 8MB cache.. mislim da je ta dobra, i da se nepokvari tako brzo, posto mi je zadnje sedmice bila 24h upalita.

Share this post


Link to post
Share on other sites

Da, reinstalirao sam ja sistem. Ali mi je i prije reinstallacije bila naj zadnja verzija. (Naj novija) reiserfs driveri su iste verzije.

Kako god da mountiram isto je. Ali nema veze. Uglavnom znam kako cu u buducem uraditi.


Pozdrav
makcode

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Forum Statistics

    • Total Topics
      24,065
    • Total Posts
      378,365
×
×
  • Create New...