LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Vmware and sata drive question

[ILUG] Vmware and sata drive question

Darragh Bailey felix at compsoc.nuigalway.ie
Tue May 30 12:41:24 IST 2006


Quoting jason corcoran <jason at jcorcoran.net>:

>
>
> I was using coLinux (virtual debian on a win XP box) happily for about a
> year. Our company was recently bought out and there new it policies have been
> invoked and stuffs coLinux ( they do not allow us to share Ethernet cards and
> coLinux uses this for its external connectivity)

I assumed that was exactly how vmware, xen, vserver, etc worked as well. Sharing
the same ethernet device using different IP's. I would assume that from the
network point of view they would see the same MAC address whether you use vmware
or coLinux.


> The solution they have given me is VMWare. Now My machine is a dual booter
> with Ubuntu and XP. I have created a virtual machine using my hard disk and
> it boots up Grub and starts to the boot process when I select Ubuntu. The
> problem is I have a Sata drive.
>
> If I boot Ubuntu normally all my partitions are sdaX in vmware they show up
> as hdaX. Is there a way, from grub or what ever to fool Ubuntu to using hda
> as sda ?

You can use "root=/dev/hdaX" as a kernel param for the correct root device, but
you'll still run into problems with the /etc/fstab file. If Ubuntu supports
mounting devices using labels that could be the best solution here.

so you could use "root=LABEL=/" as a kernel param for the root device. Similarly
use
LABEL=SWAP-1345   swap   ....
LABEL=/usr        /usr   ....

etc for the /etc/fstab file.


Since filesystem labels were designed to allow mounting of a filesystem at a
particular mount point even if the device names changed, this sounds perfect for
your problem.

--
Darragh

"Nothing's foolproof to a sufficently talented fool"



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell