Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Mit Live-CD auf NTFS schreiben? (Zusatzfrage)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Sat Jul 07, 2007 9:25 am    Post subject: [solved] Mit Live-CD auf NTFS schreiben? (Zusatzfrage) Reply with quote

Hallo,

ich muss die Daten von einem nicht bootenden Windowssystem auf eine andere NTFS-Platte schreiben. Ich bemerkte, dass meine alte Gentoo-Minimal-CD es nicht kann ("Permission denied"-Fehler usw).
Was die Gentoo Live-CD 2006 außer dem grafischen Installer bringt, weiß ich auch nicht, da ich hier nicht mal eine Konsole finde.
Ist es zB mit der neuesten Knoppix-CD möglich auf NTFS zu schreiben, oder gibt es andere Möglichkeiten?
_________________
vorher: Gentoo Reptile


Last edited by Battlestar Gentoo on Tue Jul 10, 2007 2:29 pm; edited 2 times in total
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Sat Jul 07, 2007 9:46 am    Post subject: Reply with quote

Wenn du das ganze Windoof kopieren willst (inklusive System), nützt Dir ein ntfs-Treiber nichts, da das Windows dann nicht starten würde. In dem Fall kopierst du einfach die ganze Partition:
Code:
dd if=/dev/windowspartition of=/dev/neueparition
dd if=/dev/windowsparition of=/mnt/linuxpartition/image.iso

Je nachdem, ob du das Win gleich kopieren willst, oder ertmal als Image irgendwo abspeicherst. Win startet dann auch nur, wenn die neue Partition an derselben Stelle liegt (gleiche Partitionsnummer, gleiche Position der physischen Platte (hda1, sda1, ...). Ansonsten mußt du erst irgendwas in der Registry und in der boot.ini ändern. Die Partitionsgröße kannst / solltest du hinterher mit Partition-Magic oder Äquivalent (unter Windows) anpassen.

Willst du nur ein paar Daten von der Win-Partition sichern / verändern, kannst du die ntfs-3g-Treiber verwenden.
Code:

[I] sys-fs/ntfs3g
     Available versions:  1.0 (~)1.516 (~)1.616 (~)1.616-r1 (~)1.616-r2 {suid}
     Installed versions:  1.616-r2(09:23:49 26.06.2007)(-suid)
     Homepage:            http://www.ntfs-3g.org
     Description:         Open source read-write NTFS driver that runs under FUSE


Funktionieren zuverlässsig (Lesen und Schreiben) und halbwegs schnell. Wenn die Gentoo-Live-CD doch bissel was taugen sollte (habs die schon ewig nicht mehr ausprobiert), dann sollten der Treiber eigentlich drauf sein.

Und wie ich bereits schon vor einiger Zeit mal empfohlen hab:
http://www.sysresccd.org/Main_Page
Die CD ist nur 119 mb groß, kann ntfs schreiben, Reiser4 lesen und schreiben und auch alles andere, was die Gentoo-Live-CD eigentlich können sollte. Auf dieser Rescue-CD fehlt eigentlich nur die Gentoo-Installationsanleitung und die notwendigen Pakete für 'ne Offline-Installation und schon wäre das die ideale Gentoo-Installations-CD.
Back to top
View user's profile Send private message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Sat Jul 07, 2007 10:01 am    Post subject: Reply with quote

Danke für den Tipp. Die Rescue-CD sollte genau meine Bedürfnisse decken. Ich werde sie gleich als erster ausprobieren.
_________________
vorher: Gentoo Reptile
Back to top
View user's profile Send private message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Sun Jul 08, 2007 5:29 pm    Post subject: Reply with quote

Die Live-CD klappt wunderbar, danke nochmal.

Eine Frage hätte ich aber noch dazu. Wieso funktioniert das Schreiben bei normalen mounts nicht?
Ich bekomme nur Meldungen wie "Das Dateisystem ist nur lesbar".

fstab:
Code:
/dev/hda1               /mnt/windowsC       ntfs            user,exec,rw,umask=000               0 0


Die eingehängte Windowplatte hat trotzdem nur folgende Rechte:
Code:

dr-xr-xr-x  1 root root  12288  8. Jul 18:54 windowsC


Den Mountpunkt die Rechte betreffend abzuändern bringt nichts.
Ist es denn noch immer so, dass man nur bestehende Dateien ändern kann und nicht neue schreiben kann?
Auf der Rescue-CD muss man beim mounten auch einen anderen Befehl als mount verwenden, um NTFS beschreiben zu können.
_________________
vorher: Gentoo Reptile
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Sun Jul 08, 2007 10:04 pm    Post subject: Reply with quote

Battlestar Gentoo wrote:
Wieso funktioniert das Schreiben bei normalen mounts nicht?
Ich bekomme nur Meldungen wie "Das Dateisystem ist nur lesbar".

fstab:
Code:
/dev/hda1               /mnt/windowsC       ntfs            user,exec,rw,umask=000               0 0


Deswegen. ntfs ist der normale Treiber aus dem Kernel. Um auf ntfs schreiben zu können, mußt du als Dateisystem ntfs-3g statt ntfs angeben.

Die Edith meint grad:
Wirf mal einen Blick auf
Code:
man ntfs-3g
. Da hast du ganz unten ein paar Beispiele stehen.
Back to top
View user's profile Send private message
Battlestar Gentoo
l33t
l33t


Joined: 23 Dec 2004
Posts: 708
Location: Wien

PostPosted: Tue Jul 10, 2007 2:29 pm    Post subject: Reply with quote

Danke, so funktioniert es.
_________________
vorher: Gentoo Reptile
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum