LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-26-2010, 09:49 PM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
access ubuntu root disk on xp install


I have a friends PC which had XP installed and onto which he installed Koala. I don'y know much about it but it seems that there is an ubuntu directory in the XP filesystem in which there is a 16gb file named root disk.

The machine can no longer boot in either xp or unbuntu but I can put the hardrive elswhere and copy files. Is there anyway to access the contents of root disk which is obviously the root filesystem of his former unbuntu install?
 
Old 02-26-2010, 10:28 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Create an ubuntu install disk and use that to rescue the computer.
 
Old 02-26-2010, 10:37 PM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
"Karmic Koala" is Ubuntu 9.10, and is usually called "karmic" for short - it sounds like your friend used the option to install karmic as an application within XP. This is known as a "wubi" install.

[wubi wiki]

Generally you need to manage a wubi install from windows - just like any other windows app.
You can copy C:\ubuntu\disks\root.disk someplace, install XP, install another wubi, copy this file back.

Alternately, since c:\ubuntu\disks\root.disk), is seen by Linux as a real hard disk, (says the wubi web site) it is probably possible to mount it. Copy it to ~ then:

sudo mount -t ext4 ~/root.disk /mnt

I've never tried this, so I checked - which suggests there will be better luck via...

sudo mount -o loop ~/root.disk /mnt
 
Old 02-27-2010, 12:50 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Supposedly, Windows does NOT have Ext<anything> support, so if you want to access an Ubuntu installation from Windows, you would need to use a third-party utility. And I don't know of any third-party utility for Windows that gives it Ext4/3/2 support.

As for WUBI, if Windows can't boot, neither can it. And GRUB 2 also cannot boot WUBI, because it has trouble booting loop devices. WUBI will be removed from Lucid, for the last reason I specified.
 
Old 02-28-2010, 03:26 AM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Hi all,

Thasnks for the help. Yes it was probably a wubi install. I saved the image but I have not had any chance to try to mount it. I just checked emails since yesterday.
 
Old 02-28-2010, 08:12 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Considering Kenny's info - you will be doing your friend a favour by installing a dual boot (or, better, don't install windows at all). Ubuntu aught to run better outside of windows too.

FWIW: accessing ext fs' from windows
http://www.howtoforge.com/access-lin...s-from-windows
http://www.linuxjournal.com/article/9449
... usually you cannot update the journal from windows though.

ext4 is still unwritable from windows. But ext2fsd will read it... but I suspect the ext4 has to be installed without the extent bit.

Last edited by Simon Bridge; 02-28-2010 at 08:14 AM.
 
Old 02-28-2010, 01:41 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
I after seeing me run xp in vbox he decided he just wants a linux install as he only needs xp for running the MPLab IDE and a few othe minor things with no Linux equivalent. I've reformated the hda already, no Dell partition and no xp partitition and have Slack current installed as its the only Linux I'm familar with. I just have to see If I can recover some of his kid's schoolwork which was in O.O. on the Ubuntu root image which is now on a second 500mb hd which he will use for timeshifting dvb.
 
Old 02-28-2010, 06:15 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
MPLab runs in WINE
http://www.chiefdelphi.com/forums/sh...ad.php?t=58592

piclab is very similar.
picp is the corresponding pic programmer.
But it is likely that he is expected to submit mplab file formats.

You'll want to give your friend a crash course in how to think in slackware. There are lots of habits Win users pick up that do not apply, and can make things worse.
 
Old 02-28-2010, 06:42 PM   #9
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Original Poster
Rep: Reputation: 120Reputation: 120
Unless there has been a change, usb devices cannot be accessed when running on wine and the PICKit2 programmer is a usb programmer. When I started messing with microchips I tried to find/use Linux based aps but functionality was limited and not all microchips are supported.

He and his daughters mucked along without any coaching on Ubuntu. I'm putting together a slackbox running current and kde-4.4 and locking it down they are not powerusers or hackers. They'll be allright and if he still gets into grief he can call me up and I can talk him through the situation on the phone. I'm not keen on learning a new distro just to support a friend.
 
  


Reply



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
Trouble giving write access to non root users to the hard disk (FC-5) mystic_durle12 Linux - Newbie 6 06-03-2008 06:44 AM
I can't access to the root disk, help please markluocanada Slackware 14 09-29-2007 03:37 PM
Mount removable disk without root access and fstab entry - possible? FogSwimmer Linux - Hardware 2 08-31-2007 06:41 PM
allowing non-root access to gnome's disk mounter hypermegachi Linux - General 4 05-09-2006 03:18 PM
(9.3) Firewire external NTFS disk access as root only 1kyle SUSE / openSUSE 1 09-01-2005 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:29 AM.

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
Open Source Consulting | Domain Registration