LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2009, 10:27 AM   #1
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Rep: Reputation: 15
shared directory - xp/ubuntu


Have a few questions relating to the Ubuntu directory. I have a dual boot XP/Ubuntu system:

1. I noticed that there is a /windows dir. Surely this is a security compromise, ie. an infected file in Windows could easily be imported into Ubuntu. What is the point in having windows system files that could intefere with Ubuntu?

2. I noticed that GRUB is based in the /boot dir. What would happen if this was deleted by accident?

3. Would like to install Windows 7 in an external drive. Can this be done by booting from the BIOS to the external drive and completely by passing my XP/Ubuntu dual boot (as well as getting an ethernet conection) so I can install and test W7?

Many Thanks.
 
Old 02-15-2009, 10:39 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
protections

Congratulations. As I understand it dual-booting is hard enough. I am not sure why you are worried about Windows co-existing with Ubuntu.
As I understand it, a Windows virus is not unlikely going to affect your Linux (Ubuntu) system, given a lot of viruses are targeted at Windows OSs.

Can you see these files from the Windows system?

There may be some other issues covered in

https://help.ubuntu.com/community/WindowsDualBoot
 
Old 02-15-2009, 10:47 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,069

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by tigertim71 View Post
Have a few questions relating to the Ubuntu directory. I have a dual boot XP/Ubuntu system:

1. I noticed that there is a /windows dir. Surely this is a security compromise, ie. an infected file in Windows could easily be imported into Ubuntu. What is the point in having windows system files that could intefere with Ubuntu?
"Imported" (as in copied to) yes, executed I doubt it. However, if you are interested, you might get some viruses working in wine if you try hard

Quote:
2. I noticed that GRUB is based in the /boot dir. What would happen if this was deleted by accident?
It won't boot, since the kernel usually is there. It would be like deleting ntkrnl in windows. However this could be fixed by using a livecd.

Quote:
3. Would like to install Windows 7 in an external drive. Can this be done by booting from the BIOS to the external drive and completely by passing my XP/Ubuntu dual boot (as well as getting an ethernet conection) so I can install and test W7?

Many Thanks.
If your BIOS supports it you can set it up to boot from USB. It should also be possible to set the boot order (just like you set it up to boot from cdrom or floppy). However, note that you could also add an entry in your already existing grub.conf/menu.lst to boot from your USB drive. That way you won't need any special setup in your BIOS, and you will be able to choose what to boot at boot time.
 
Old 02-15-2009, 04:06 PM   #4
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
shared directory - xp/ubuntu

Thanks - I suppose there are a few options here relating to booting from USB. I'll probably take the safest route. After spending months fixing 3 computers enough is enough!

Re. cmnorton's response, it looks like all windows files are in /windows. For example, I went into windows/WINDOWS/system32 and the HDD started working (like how XP is (noisy) compared to this fantastic Ubuntu find...). I backspaced and didn't wait to see what would happen. I did though access some of my documents in the windows C:\ drive and save to open office.

What I'm surprised at though is that this available on Ubuntu. I suppose if the applications caused a problem they would not have been included in the Linux design.

One more question - if I use my yahoo mail account through Ubuntu, does this risk more viruses or should I just use it on my XP partition?
 
Old 02-15-2009, 04:37 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,069

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by tigertim71 View Post
One more question - if I use my yahoo mail account through Ubuntu, does this risk more viruses or should I just use it on my XP partition?
It depends on what do you mean. Yahoo shouldn't be a problem any more than any other mail account of a different provider.

If you receive a mail with something that can be run under linux attached, and you run that file then anything can happen. It's not different to this case where you download something from an unknown web page and you run it without even bothering to check what it is.

However, attachments that are executable under linux are very rare.

Some mail clients (if you use one instead of webmail) can integrate with AV software (for example, I know that kmail can work together with clamav).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared directory. How? beli0135 Linux - Networking 3 08-07-2008 06:30 PM
shared directory allelopath Linux - Networking 7 03-19-2006 02:01 PM
Linux shared directory for XP sjmgeezer Linux - Networking 1 06-03-2005 09:49 PM
Where to put shared directory? mikieboy Slackware 11 02-12-2005 03:07 PM
Shared directory Sir.Del Linux - General 1 07-27-2004 12:35 PM


All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration