View previous topic :: View next topic |
Author |
Message |
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Wed Feb 21, 2007 12:07 am Post subject: Wacky install idea (on NTFS via knoppix) |
|
|
got an idea now that ntfs-3g can do writing to ntfs. (likely been that way for a while, I only recently saw it)
the basic idea is installing onto a ext3 image on a NTFS hard drive via knoppix (5.1.1) and booting it via grldr from the xp bootloader. Will likely have to put the kernel somewhere on a NTFS drive. Possibly even turn vmware loose on it for when i'm in windows. (that's a "much later" idea if I get this working)
The question is: would something like that work? Also: would I need to make a initrd for ntfs-3g or would the kernel's drivers be enough until it remounts / ? |
|
Back to top |
|
|
HeissFuss Guru
Joined: 11 Jan 2005 Posts: 414
|
Posted: Wed Feb 21, 2007 12:32 am Post subject: |
|
|
Behold the powers of google. http://forum.linux-ntfs.org/viewtopic.php?t=326&sid=ed93420294b861360a2487884b53dc4a
Personally though, I think it'd be a bad idea, even if it worked. If you want windows to be able to read and/or write your files, stick files you want to be shared on a different partition. Also there are windows programs that allow for ext3 rw which you may want to look into. There's another thread on this issue here. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Wed Feb 21, 2007 8:56 am Post subject: |
|
|
HeissFuss wrote: | Behold the powers of google. http://forum.linux-ntfs.org/viewtopic.php?t=326&sid=ed93420294b861360a2487884b53dc4a
Personally though, I think it'd be a bad idea, even if it worked. If you want windows to be able to read and/or write your files, stick files you want to be shared on a different partition. Also there are windows programs that allow for ext3 rw which you may want to look into. There's another thread on this issue here. |
Thanks for the links. Tried searching google and the forums and didn't come up with much
Why do you think it's a bad idea? it's been with the older drivers and other distros for a while now with no problems. I'd be just doing it with gentoo.
as to the win ext3 programs, i've ran across them in the past and been less than impressed. Especially after my recent experience with a bad filter driver messing with my DVD+/-RW drive I don't exactly want to install another one. Getting at my files shouldn't be much of a problem as I plan on sticking /home in a folder on a NTFS partition :) |
|
Back to top |
|
|
GNUtoo Veteran
Joined: 05 May 2005 Posts: 1919
|
Posted: Wed Feb 21, 2007 3:02 pm Post subject: |
|
|
it's a bad idea because of viruses that can alter your linux files and make your linux install unusable |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Wed Feb 21, 2007 7:48 pm Post subject: |
|
|
GNUtoo wrote: | it's a bad idea because of viruses that can alter your linux files and make your linux install unusable |
Erm... riiiight, care to explain HOW? it'll be in a IMAGE FILE, which I mentioned earlier.
also: you assume I get viruses in the first place. in the many years (like 10+) that i've had my own computer I haven't gotten a hit that I wasn't expecting. (I do run AV but only because i'm slightly paranoid) |
|
Back to top |
|
|
HeissFuss Guru
Joined: 11 Jan 2005 Posts: 414
|
Posted: Wed Feb 21, 2007 7:54 pm Post subject: |
|
|
Maybe I just don't get where you're going with this. What's the advantage of using an ext3 image on an ntfs fs? You're planning on booting into linux, right? |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Wed Feb 21, 2007 8:09 pm Post subject: |
|
|
Too lazy to have a real Linux partition perhaps. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Feb 22, 2007 1:23 am Post subject: |
|
|
This is possible, and I believe debian now has an install option that is similar to what you just wrote... basically run an *.exe that sets up linux inside windows.
The major disadvantages I can see are:
1) It will be slower than a native Linux install, since linux must now wait for the windows system calls to do any type of disk operation.
2) Windows malware is able to touch your Linux install and also your filesystem is only as stable as NTFS (yikes!).
Advantages:
- Easy to try distros without going through the hassle of re-partitioning, etc... Easy to delete an install |
|
Back to top |
|
|
HeissFuss Guru
Joined: 11 Jan 2005 Posts: 414
|
Posted: Thu Feb 22, 2007 1:55 am Post subject: |
|
|
But they already mentioned using vmware, which would be a much better solution for testing than what they propose. |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Feb 22, 2007 4:10 am Post subject: |
|
|
HeissFuss wrote: | But they already mentioned using vmware, which would be a much better solution for testing than what they propose. | Yes and no. It is more simple to test usign a vm, but you sacrifice a lto of performance, since you are runing 2 OS'es at the same time. Here the only sacrifice is the extra layer of NTFS writing.
BTW - I was incorrect in my earlier statment about windows sytem calls. By using the method you boot directly into linux. Ntfs-3g handles the writing, so it is an extra layer of Linux syscalls for each disk access. |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Sat Feb 24, 2007 12:50 am Post subject: |
|
|
i believe ntfs-3g is complete, but it does not support file permissions, right?
that could be a problem if you want to try running a operating system with that driver. |
|
Back to top |
|
|
dtjohnst Apprentice
Joined: 23 Apr 2006 Posts: 178
|
Posted: Sat Feb 24, 2007 1:47 am Post subject: |
|
|
You could do what I did too: I have my windows drive NTFS and any drives that I only want Windows to get to (like a Windows Applications and a windows Games partition) NTFS. I then installed ext2ifs on my windows to read/write ext 2/3 drives. My Documents and anything else I want shared goes on an ext 3 drive. ext2ifs also has a built in manager like the Administrative Tools -> Computer Management console in Windows. This lets you change drive letters and whatnot since Computer Management can't read ext 3 (though everything else can). So this way I can have read/write on all the partitions I want to share and just dump anything I want shared onto that, and I can keep Linux from getting to my Windows partitions and Windows from getting to my boot and root Gentoo partitions, keeping one from being able to corrupt the other.
I like the system I've got worked out, and I get to keep the advantages of journalling in Gentoo (which I find much more important than indexing abilities in Windows).
If you want to do it for testing though, just ignore what I said and give it a shot. Let us know how it turns out. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Sat Feb 24, 2007 10:19 am Post subject: |
|
|
alex.blackbit wrote: | i believe ntfs-3g is complete, but it does not support file permissions, right?
that could be a problem if you want to try running a operating system with that driver. |
erm... did you even read my post at all? / wouldn't be on a NTFS partition direcly, it'd be on a ext3 image on a NTFS partition. Just like I said in my original post.
ntfs-3g would just provide the read/write support for everything else (and possibly putting /home to save space on other things elsewhere)
right now i'm just debating if it's worth the effort to install it or not. (now that I got my problems with the burner solved that kicked off this wacky idea) |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Sat Feb 24, 2007 10:27 am Post subject: |
|
|
even wacker idea: would it be possible to use the same image file under both real hardware and a Virtual Machine? (something like vmware or virtualbox)
The kernel should sort itself out with the right drivers for everything in "both" systems compiled in.
The only problems I see is xorg and any tools that the VM needs. (like vmware and it's toolbox) Perhaps with a script that has a look at the hardware with lspci and looks for the telltale VM hardware or am I completely missing something? Other than booting the thing inside the VM but that shouldn't be *too* hard I think. |
|
Back to top |
|
|
HeissFuss Guru
Joined: 11 Jan 2005 Posts: 414
|
Posted: Sat Feb 24, 2007 6:17 pm Post subject: |
|
|
It would be easier to set up a partition to do this. It would work for both booting and vmware. Since you'll be taking up that space on your ntfs partition anyway, why don't you just shrink the ntfs and make a new ext3 part? If you want to move it to a diff system just dd it... |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Sat Feb 24, 2007 8:07 pm Post subject: |
|
|
HeissFuss wrote: | It would be easier to set up a partition to do this. It would work for both booting and vmware. Since you'll be taking up that space on your ntfs partition anyway, why don't you just shrink the ntfs and make a new ext3 part? If you want to move it to a diff system just dd it... |
easier? hardly, that'd require repartitioning the drives and would make uninstallation harder than I want it to be if it fails.
if this doesn't work out right for me uninstallation is as simple as blowing away the image file and removing a line from boot.ini |
|
Back to top |
|
|
HeissFuss Guru
Joined: 11 Jan 2005 Posts: 414
|
Posted: Sun Feb 25, 2007 2:05 am Post subject: |
|
|
Ok, have fun then. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Sun Feb 25, 2007 8:34 pm Post subject: |
|
|
aarg... ran into a problem with getting it to boot. Must have been doing something wrong or something. (will have to snag a copy of topologi linux later to see how they do it)
the install went great, though. (after getting the danged partition to mount r/w in knoppix...)
might try it the other way around later. (assuming that vmware's flat file image is anything resembling standard) aka: get it working in vmware then try booting it for "real" so to speak.` |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Sun Feb 25, 2007 9:39 pm Post subject: |
|
|
Ok, I want to get this straight - are you booting into Linux directly, or going from Windows into Linux? The way it sounds, you are going to run into problems with viruses I'm sure (AV or not, they do not catch everything, not to mention what they could do with files it doesn't understand), which could modify the image to make it unstable/unusable.
If you want to test Linux out, then I'd say make yourself a LiveDVD. 4G of SquashFS is quite a bit. If you don't want to mess with partitioning (which is not a problem, btw. I know in XP I repartitioned my hda and it worked like a charm, and took me less then 10 minutes), then you could always download ISOs and write them to a CD/DVD (save them to Windows, then through Knoppix write them to a CD/DVD-R/W. You do have 2 optical drives, right?). _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Mon Feb 26, 2007 3:24 am Post subject: |
|
|
Dralnu wrote: | Ok, I want to get this straight - are you booting into Linux directly, or going from Windows into Linux? The way it sounds, you are going to run into problems with viruses I'm sure (AV or not, they do not catch everything, not to mention what they could do with files it doesn't understand), which could modify the image to make it unstable/unusable.
If you want to test Linux out, then I'd say make yourself a LiveDVD. 4G of SquashFS is quite a bit. If you don't want to mess with partitioning (which is not a problem, btw. I know in XP I repartitioned my hda and it worked like a charm, and took me less then 10 minutes), then you could always download ISOs and write them to a CD/DVD (save them to Windows, then through Knoppix write them to a CD/DVD-R/W. You do have 2 optical drives, right?). |
and another one totally misses the point and fails to read. You'd be #3. Try reading the thread (starting to get quite sick of people that can't or won't read properly)
the linux install will (eventually) be on a image file on the ntfs partition. For more explanations, READ THE THREAD every thing's been explained already. Also: read threads before replying to them, it really does help. |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Feb 26, 2007 3:57 am Post subject: |
|
|
I did read it. I fail to see how you think putting an image file on a NTFS that Windows has access to makes it suddenly immune to everything, unless you plan on keeping it unmounted (which I'm not sure you can do with Windows or not). _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Mon Feb 26, 2007 4:40 am Post subject: |
|
|
Dralnu wrote: | I did read it. I fail to see how you think putting an image file on a NTFS that Windows has access to makes it suddenly immune to everything, unless you plan on keeping it unmounted (which I'm not sure you can do with Windows or not). |
seems like you didn't read it to me, or did you totally miss the several mentions of the fact that it'll be a image file of a ext3 volume aka: to everything else it'll be nothing but a large, 4gig (or larger) file. (which I also already mentioned SEVERAL TIMES)
sheesh. reading helps |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Feb 26, 2007 4:49 am Post subject: |
|
|
Freakazoid wrote: | Dralnu wrote: | I did read it. I fail to see how you think putting an image file on a NTFS that Windows has access to makes it suddenly immune to everything, unless you plan on keeping it unmounted (which I'm not sure you can do with Windows or not). |
seems like you didn't read it to me, or did you totally miss the several mentions of the fact that it'll be a image file of a ext3 volume aka: to everything else it'll be nothing but a large, 4gig (or larger) file. (which I also already mentioned SEVERAL TIMES)
sheesh. reading helps |
And what prevents something from corrupting said image? _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
Freakazoid Tux's lil' helper
Joined: 13 Apr 2004 Posts: 104
|
Posted: Mon Feb 26, 2007 7:00 am Post subject: |
|
|
Dralnu wrote: | And what prevents something from corrupting said image? |
try reading the thread
I quote: (myself, from earlier in the thread)
Freakazoid wrote: | also: you assume I get viruses in the first place. in the many years (like 10+) that i've had my own computer I haven't gotten a hit that I wasn't expecting. (I do run AV but only because i'm slightly paranoid) |
|
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Feb 26, 2007 7:06 am Post subject: |
|
|
First time for anything. _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
|