Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Dec 2017, 19:51
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to partition an old HDD with GParted?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Author Message
bigpup


Joined: 11 Oct 2009
Posts: 9714
Location: Charleston S.C. USA

PostPosted: Tue 07 Nov 2017, 02:27    Post subject:  

Is XP the original install when the computer was made or did you install XP?????????

Quote:
/dev/sda 149.05 formatted, I think, NTFS. This is unallocated.

If it says unallocated it is not partitioned and formatted.

Quote:
I am running from a CD and have a USB stick plugged in to hold my details.

The hard drive.

I just managed to carve out another small partition using my XP. and partition Magic.

I thought you said that XP was not working?

Quote:
In 'Devices', this is the one that shows up as /dev/sdb1 with a lock symbol along side it. Plus it is the boot drive.

That lock symbol indicates the drive is mounted and being used. So, something on it is being used by the Puppy CD.
That is usually the Puppy save. You said the save is on the USB.

Usually you should be seeing partitions on the hard drive labeled:
sda1
sda2
sda3
etc......

The USB flash should be sdb1

So do this:
Have no USB flash or any other storage device plugged into computer.
Boot with the Puppy CD.
At the Puppy boot screen.
Hold down F2 key until:
The options window appears.
Enter puppy pfix=ram option.
Press enter.

This will make the CD boot not using the save, so it will look like the first time you ever booted it.
Do not do any setup.
All you need to do is run Gparted.

Gparted should only see one drive, the hard drive and it's partitions.
Nothing should have a lock symbol.

Note:
When shutting down the CD it will ask if you want to make a save.
Say no.
You said you already have one on the USB flash drive.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Tue 07 Nov 2017, 15:07    Post subject:  

bigpup,

..I thought you said that XP was not working?..

It was, but now isn't.

Before I started on this conversion to Linux I used Partition Magic from my Floppy to make a small partition that I could use to carry XP. the idea being to be able to fall back on this if (when) things got tangled up.

Then I accidentally locked out this partition.

I wish to unlock this so I can get back to where I was in the beginning.

I also wish to avoid using DOS related programs (like Partition Magic) and learn to use their Linux equivalents.

coldmonday.

(In the beginning darkness lay upon the hard drive. And Partition Magic said 'let there be partitions')
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11741
Location: Stratford, Ontario

PostPosted: Tue 07 Nov 2017, 15:29    Post subject:  

Quote:
/dev/sdb This is 3.73 GigB , formatted FAT32 and holds my XP . It is the partition I boot up from to work XP.


No. Sdb should be your flash drive. Sda is your hard drive.

Here is what I think happened with sda. It had a corrupted partition table, so it showed as "unallocated" with no partitions. But XP was able to start anyway.

Once you started messing with the partition table, you broke the ability of XP to boot.
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4750
Location: Republic of Novo Zelande

PostPosted: Tue 07 Nov 2017, 15:56    Post subject:  

Which is your boot partition/device? Do you have a menu.lst?
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Tue 07 Nov 2017, 16:59    Post subject:  

Progress note to all.

It seems the primary problem was caused by the flash drive.

So, following along with one of the tutorials, and with the flash drive removed.

Booted from cd.

Gone into GParted

I find..

/dev/sda (149.05 gIB) [tells me it is a 150 Gig (nominal) SCSI drive. primary Master.

The partition info ..

/dev/sda1 File System ext2: Size 1.0 GigB: Used 17.45 MiB: Unused 1010.11 MiB: Flags (nothing. Not a bootable partition)

tells me it is the first partition on on drive sda.

Unallocated 148.05 is the rest of the drive. As yet unused.

Onwards and upwards.

I'm assume the XP partition went to the flash drive. Need to check that

rcrsn51, I think this explains it. sdb has disappeared from the list now the flash drive is out. Noobie error. Embarassed

coldmonday.

p.s. Stop me if I am reading this wrong.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11741
Location: Stratford, Ontario

PostPosted: Tue 07 Nov 2017, 17:32    Post subject:  

coldmonday wrote:
I'm assume the XP partition went to the flash drive. Need to check that.

That doesn't make any sense.

The files that made up your XP install are still somewhere on sda. But you appear to have made a new 1 GB ext2 partition on sda. In that case, you have blown away the start of your XP install.

The chances of recovering it are slim to none.
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Tue 07 Nov 2017, 18:39    Post subject:  

rcrsn51,

You are correct, but it doesn't matter as I am going to clean the flash drive anyway; to give me an empty flash drive to use.

The XP will not be needed on the Linux machine.

So I have Puppy running on the Linux machine from the CD,

I'm in GParted. My hard drive is a SCSI

and it shows I have /dev/sda (149.06 GiB)


Which I take is my hard drive using only one partition and a total capacity of 149.05 GigaByte.

Further information shown is that I have

/dev/sda1 with ext2 and a size of 3.91 GigaByte. using 59.46 MB.

Also an unallocated partition of 145.14 GigaByte.

Nothing else yet.

coldmonday.

More following.
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Tue 07 Nov 2017, 18:47    Post subject:  

Removed text. Worked out the problem.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9714
Location: Charleston S.C. USA

PostPosted: Tue 07 Nov 2017, 19:15    Post subject:  

So, what did you do?????
_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1016
Location: Chatswood, NSW

PostPosted: Tue 07 Nov 2017, 19:20    Post subject: Logical partition?  

G'day coldmonday,

If I remember correctly, adding partitions into an extended (primary) partition requires they be 'logical' partitions.
So you need to set Gparted to create logical not primary partitions (only four primaries allowed). There's a box to select the type of partition you want to make during the process.

You could also make a small Linux-swap partition (say, twice the size of your RAM) amongst your new logical partitions while you're playing around with Gparted.

The MS-originated limit is 15 partitions per hard-drive - if you want to go to extremes, that's 4 primaries, one of which is extended and can have 14 logical partitions within it.

Have fun.

David S.
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Thu 09 Nov 2017, 20:14    Post subject:  

bigpup, davids45,

I was following along with the Dedoinedo tutorial.

I got to the point where it told you how to create an extended partition, but there things became a bit ambiguous.

He tells you how to create the extended partition and then proceeds to suggest creating two logical partitions to go in it.

I had no problem with the concept.

But, then he says something along the line of 'but these won't work until you click apply' (I don't have the Gparted running at the moment. I have had to change machines)

It gives the impression that he was going to 'apply' both the extended and the two logical drives at the same time.

However, as you guys probably know, once you fill out the boxes to create the extended partition you can't click on 'new' to make any more.

You have to 'apply' the extended partition to make it viable, THEN highlight it and proceed to create the other logical partitions within it.

It seems obvious. But the wording threw me.

Once I worked it out the rest was easy.

At the moment I am working on a bit of hardware so I'm taking a couple of days away from Linux.

But I feel I'm starting to get the gist of it.

coldmonday.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 9714
Location: Charleston S.C. USA

PostPosted: Thu 09 Nov 2017, 21:50    Post subject:  

See if I can help clear the confusion.
Partition basics:
On a hard drive /storage device.
Can have up to 4 primary partitions.
Or 1 to 3 primary and one extended partition.
The extended partition can be divided into any number of logical partitions.

The extended partition is a special partition that can be further divided into usable logical partitions.
No restriction on number of logical partitions.
The logical partitions make the space in the extended partition usable to the file system.

For Puppy installs.
All you need to do is make one primary partition.
Using Gparted.
Delete all partitions on the drive.
Now make one primary partition, using all the unallocated space, and format it.
I suggest formatting it ext 3.
Flag it boot.

Install Puppy.
Install the Grub4dos Boot loader.

Remove any CD with Puppy on it.
Boot the computer to the Grub4dos boot menu and select the Puppy you installed.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Fri 10 Nov 2017, 19:53    Post subject:  

bigpup,

I shall follow those instructions to the letter; but not tonight. I'm up to my elbows in 741 op-amps at the moment.

As an aside,

Yesterday I called in to our local library and inquired about books on Linux.

As Linux is supposed to be taking over the World, and libraries are known to be dens of subversion inhabited by radical free thinkers.

But the nice lady behind the desk told me they had nothing. 'We did have two copies of 'Linux for Dummies', but they were withdrawn.'

I offered my commiserations and scuttled out before she picked up the phone and had me whisked of to a Bill and Melinda Gulag where I would be forced to learn Windows 10.

On the way out I did notice the ever increasing rack of Manga magazines.

And some don't believe the world is dumming down.

coldmonday.
Back to top
View user's profile Send private message 
coldmonday

Joined: 10 Mar 2017
Posts: 16

PostPosted: Sat 11 Nov 2017, 18:04    Post subject:  

bigpup,

It worked. Many thanks for your assistance.

I now have one huge 149.05 gigabyte bootable primary drive that answers to /dev/sda1 formatted ext3.


I now intend to download LinAXE.

This was the whole point of me going over to Linux in the first place.

coldmonday.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [29 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0533s ][ Queries: 14 (0.0071s) ][ GZIP on ]