LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-03-2011, 01:18 PM   #61
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898

Quote:
Strangely enough now puppy's GUI is working for the old machine that I have ubuntu desktop on.
Try to use vesa instead of xorg.

Kind regards
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-03-2011, 02:29 PM   #62
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by repo View Post
Try to use vesa instead of xorg.

Kind regards

I did try it many many times.(vesa)
It wouldn't accpet it.
I would get the list of various resolutions and card drivers.
Any way that's not even important now.
Because I managed with the help from yancek to copy all the files to the external HD, but now I can't
transfer it back to a non portable system without data loss, as it appears.

puppy works a charm only in transferring from ext3 file system to ntfs but not vice versa.



mansour

Last edited by mansour; 10-03-2011 at 02:47 PM.
 
Old 10-03-2011, 02:42 PM   #63
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
puppy works a charm only in transferring from ext file system to ntfs but not vice versa.
I assumed it would be problematic which is why I suggested earlier you create a Linux partition on the external in ext3 or ext4 format. You still have the files on the internal so you could try that and copy them again.

Last edited by yancek; 10-03-2011 at 02:44 PM.
 
Old 10-03-2011, 02:50 PM   #64
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by yancek View Post
I assumed it would be problematic which is why I suggested earlier you create a Linux partition on the external in ext3 or ext4 format. You still have the files on the internal so you could try that and copy them again.
I don't know how to do that.
You obviously mean using puppy to create a linux partition on the external HD, but how.

mansour
 
Old 10-03-2011, 03:14 PM   #65
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
puppy works a charm only in transferring from ext3 file system to ntfs but not vice versa.
I don't see why this wouldn't work though.

Kind regards
 
Old 10-03-2011, 05:44 PM   #66
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
I opened Dolphin file manager to test this and highlighted a .jpg file and a text file and clicked Copy. I had another Dolphin window open in my windows 7 partition and right-clicked and clicked Paste. I got a pop-up window saying "Could not change permission for win_7/picture.jpg for the .jpg file, the same message for the text file. They both copied to windows. The text file had all the text in it. The jpg image was the same image as in Linux, no problem.

In Linux, both the jpg and text files had 664 permissions. When I checked them in windows, they were both 777. I used the same method to copy them back from windows 7 to my Linux partition and they both then had 777 permissions.

Got the same results with the cp -a -x command. I don't know why this happens but I expect it has to do with the different filesystems which don't or can't keep permissions.

Before trying to create another partition, do you have any data on the external other than what you copied? If you are using Puppy, there should be an icon on the Desktop named Partition Manager/Editor. If not, click on the menu button, lower left of the Desktop, probably has a Puppy icon and look through the options for Partition Manager/Editor or Gparted. When you open GParted, you should see sdb and sdb1 in the main window. Click on sdb1 to highlight it, click on the Partition tab at the top of the window. There will be an option to Resize/Move. Click on it. You will get a new window. This is where the problem comes in and why I asked if you have other data you want to save, other than what you just copied. If you do, you want to make sure you do not shrink it to the point it is too small to hold that data. If you have problems or don't understand further steps, post back. Not knowing what you have on the drive, I hesitate to go further until you post back as to whether you have any data on that partition you want to keep.

Last edited by yancek; 10-03-2011 at 07:36 PM.
 
Old 10-03-2011, 07:56 PM   #67
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by yancek View Post
I opened Dolphin file manager to test this and highlighted a .jpg file and a text file and clicked Copy. I had another Dolphin window open in my windows 7 partition and right-clicked and clicked Paste. I got a pop-up window saying "Could not change permission for win_7/picture.jpg for the .jpg file, the same message for the text file. They both copied to windows. The text file had all the text in it. The jpg image was the same image as in Linux, no problem.

In Linux, both the jpg and text files had 664 permissions. When I checked them in windows, they were both 777. I used the same method to copy them back from windows 7 to my Linux partition and they both then had 777 permissions.

Got the same results with the cp -a -x command. I don't know why this happens but I expect it has to do with the different filesystems which don't or can't keep permissions.

Before trying to create another partition, do you have any data on the external other than what you copied? If you are using Puppy, there should be an icon on the Desktop named Partition Manager/Editor. If not, click on the menu button, lower left of the Desktop, probably has a Puppy icon and look through the options for Partition Manager/Editor or Gparted. When you open GParted, you should see sdb and sdb1 in the main window. Click on sdb1 to highlight it, click on the Partition tab at the top of the window. There will be an option to Resize/Move. Click on it. You will get a new window. This is where the problem comes in and why I asked if you have other data you want to save, other than what you just copied. If you do, you want to make sure you do not shrink it to the point it is too small to hold that data. If you have problems or don't understand further steps, post back. Not knowing what you have on the drive, I hesitate to go further until you post back as to whether you have any data on that partition you want to keep.



Yes I do. I have some stuff on the external HD. But is huge is 1 TB.
OK. I fired up my ubuntu desktop machine, and I opened the GParted screen. I can see both sda1 and sdb1.
However it has changed the name of sdb1 to sda2.

Code:
           /dev/sda1     ext4            73.56 MiB
           /dev/sda2     extended        992.00 GiB
              /dev/sda5  linux-swap      992.00 GiB
and there is a lock next to all of them.
like a lock you put on the door.

OK. I see the Resize/Move option under partition menu at the top of the page, but all sub menus for that menu are greyed out.!!!???
I see under Device menu:
- Create partition table
- Attempt data rescue

So what next?
Does our friend Repo know how I should enable all these greyed out sub menues in the GParted page?
If I could do that I think I could fix the problem.
Of course I have console that I can use. Anyone knows how to use Gparted commands to move or resize patitions?

mansour

Last edited by mansour; 10-03-2011 at 08:19 PM.
 
Old 10-03-2011, 08:37 PM   #68
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The easiest way would've been to clone the partition then any linux machine would be able to access it. Also windows 7 you have to enable file sharing, you may be able to do that.

Last edited by EDDY1; 10-03-2011 at 08:39 PM.
 
Old 10-03-2011, 08:57 PM   #69
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by EDDY1 View Post
The easiest way would've been to clone the partition then any linux machine would be able to access it. Also windows 7 you have to enable file sharing, you may be able to do that.


So you don't know how to use GParted, and you are suggesting that I download clonezilla. But are you sure a cloned partition would work on linux. Remember these are two different files sytems. My External HD is ntfs and my ubuntu 10.10 or 10.04 machines are ext3 file system.
It is Win XP and ubuntu 10.10 and ubuntu 10.04. I have no Win 7.

OK. I downloaded Clonezilla on my USB flash drive.Then I also connected my USB External Hard Drive (1 TB)

But it says no Media present, which is not true. It can't read/see my 1 TB External HD, and says no media present.

So what would I do next?

mansour

Last edited by mansour; 10-03-2011 at 10:41 PM.
 
Old 10-03-2011, 11:26 PM   #70
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
So you don't know how to use GParted, and you are suggesting that I download clonezilla. But are you sure a cloned partition would work on linux.
I know how to use gparted-live, I can shrink partitions & add them. Also gparted can copy data from 1 parition to another, but I don't know if it will include all of your hidden files & permissions. Clonezilla willl include all of your hidden files & permissions. I am sure that if youcloned your partition that when you get your repaired or new os up & running that you will gain access to it.
Quote:
Remember these are two different files sytems. My External HD is ntfs and my ubuntu 10.10 or 10.04 machines are ext3 file system.
you can have 2 or more different partition types on a single drive, even Yancek suggested it.
Quote:
OK. I downloaded Clonezilla on my USB flash drive.Then I also connected my USB External Hard Drive (1 TB)

But it says no Media present, which is not true. It can't read/see my 1 TB External HD, and says no media present.
With clonezilla you cannot boot with external hhd connected, you have to wait until it says where do you want to store image or partiton, if usb plug it in wait 5 seconds and press enter(ok).
 
Old 10-03-2011, 11:33 PM   #71
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by EDDY1 View Post
I know how to use gparted-live, I can shrink partitions & add them. Also gparted can copy data from 1 parition to another, but I don't know if it will include all of your hidden files & permissions. Clonezilla willl include all of your hidden files & permissions. I am sure that if youcloned your partition that when you get your repaired or new os up & running that you will gain access to it.
you can have 2 or more different partition types on a single drive, even Yancek suggested it.

With clonezilla you cannot boot with external hhd connected, you have to wait until it says where do you want to store image or partiton, if usb plug it in wait 5 seconds and press enter(ok).


Ok, I am connecting the USB Flash Drive that has clonezilla on it to my Win XP.
Could you walk me through the steps?
Using Win XP + USB External HD + USB Flash Drive how would I clone the files on my External HD, and then to the Linux Ubuntu 10.04 desktop?

Please walk me through it, like yancek did.

1)
2)
3)
4)
.
.
.

He made it easy for me to follow.



Mansour

Last edited by mansour; 10-03-2011 at 11:35 PM.
 
Old 10-03-2011, 11:36 PM   #72
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Clonezilla is a live-cd you boot to it. when you copy the partition you have to atleast have that much free space on <target drive> as to put the new partition.

Last edited by EDDY1; 10-03-2011 at 11:48 PM.
 
Old 10-04-2011, 12:24 AM   #73
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Yes I do. I have some stuff on the external HD. But is huge is 1 TB.
OK. I fired up my ubuntu desktop machine, and I opened the GParted screen. I can see both sda1 and sdb1.
However it has changed the name of sdb1 to sda2.
I don't think so. It might change the drive from sdb to sda but not the partition number. You indicate that your external drive is formatted as ntfs but the information you posted shows this:

Quote:
/dev/sda1 ext4 73.56 MiB
/dev/sda2 extended 992.00 GiB
/dev/sda5 linux-swap 992.00 GiB
Is that your external drive? If so and it is a 1TB drive, you have a very small ext4 partition, a 992GB Extended partition with a 992GB swap partition!! It doesn't show any windows (ntfs) partitions! Where is your data? Is the data from a windows OS/filesystem or from Linux?

You need to click a partition in the main window to highlight it, then click on partition tab at the top to do anything, resize or whatever.
You don't need to create a partition table.

Are you now booted into your Ubuntu Desktop with the external drive attached? Do you have only one 1TB drive? The first thing I would do is delete that swap partition, then create a new 1GB partition and format it as ext3 (or ext4, whatever it is) since you only have 270MB of data to copy.

I'm a little confused about there not being any ntfs partitions, you said you had the entire drive formatted ntfs and there is no indication of that in your output??

What exactly do you have in your /home partition that you want to copy? Text files, images, ???
Clonezilla works fine for copying partition to partition or drive to drive but if you just have data files and only about 270MB, there is no reason you could not just use the cp command.

What exactly happened when you used Puppy to try to copy the files back to your Ubuntu drive from the external? When I did it, they copied fine but the permissions were messed up after being copied to an ntfs filesystem. I don't see any ntfs filesystem on your drive??
 
Old 10-04-2011, 12:40 AM   #74
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
1. Boot to live-cd
2. select keymap, language etc.
3. Start Clonezilla
4. Select device-device
5. Select Part_local_part
6. source drive may appear 1st. Since there is no usb connected there will a list of partitions which you may want to clone, select 1 of them (sda11) for example.
7. You'll be asked for target drive at that point plug in wait 5 seconds then select free space. If free space space is listed abort go back create ext3 partition do 1-6 & select the ext partition.
 
Old 10-04-2011, 12:46 AM   #75
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Nice catch yancek
Quote:
/dev/sda1 ext4 73.56 MiB
/dev/sda2 extended 992.00 GiB
/dev/sda5 linux-swap 992.00 GiB
I hope there was no data on it.
 
  


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
[SOLVED] Backup on to an external hard drive rebecca.m.jones Linux - Newbie 2 03-18-2011 03:47 PM
udev rules to mount external hard drive at mount point akamikeym Gentoo 3 03-31-2010 02:12 PM
Mount external hard drive's folder as partition visible in df WojtekO Linux - Newbie 7 03-11-2009 10:33 PM
Newbie - How do I backup my /Home folder to an external device kincanonmi Linux - Newbie 1 01-03-2009 11:10 PM
Backup Fedora Core 5 and WinXP to external hard drive? peter3731 Linux - Hardware 1 01-31-2008 12:03 AM


All times are GMT -5. The time now is 04:01 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