You are seeing a copy of a topic from forum.ps2dev.org.  Only the page numbers works, the other links point to the original forum.

Click HERE to go back to index of psq2dev mirror.
Click HERE to go back to PlayStation®2 Linux website.

Link to original post: http://forums.ps2dev.org/viewtopic.php?t=12723
forums.ps2dev.org :: View topic - ps2 linux hdd question
forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ps2 linux hdd question

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
suhm



Joined: 27 Dec 2009
Posts: 5
Location: Germany

PostPosted: Sun Dec 27, 2009 11:37 am    Post subject: ps2 linux hdd question Reply with quote

hi,

can somebody tell me, why i have to delete all the patitions on my harddisc for preparing the linuxinstallation?

i have many backups and othe apps on there. so i'm using this manual:

Quote:

Create Linux partitions on hard disc (CAUTION: all data will be deleted).

* fdisk /dev/ide/host0/bus0/target0/lun0/disc
Commands (key + return):
"p" - Show partitions
"d" - Delete partitions
"n" - Create partitions
"t" - CHange partition type
"w" - Write data back
"q" - Quit
Steps:
1. Show all partitions with "p".
2. Delete all partitions with "d".
3. Create a swap partition with "n", "p", "1", "1", "+128M".
4. Change partition type with "t", "1", "82".
5. Create root partition with "n", "p", "2", return, return.
6. Write partition data on hard disc with "w"


thx for ur help.
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Mon Dec 28, 2009 1:12 am    Post subject: Reply with quote

Hello,

you don't have to delete all data on your hard disc. The description use this way, because it is easier to describe. It is more difficult to describe all possible combinations. To be able to keep your stuff, you need to understand what partitions are and how Linux partitions are created.
If your using APA partitions (Sony partition type) you need to use a different tool to create them. The new kernel v3 is required, but I didn't make a initrd who can handle this. There is no easy way to explain this.
Back to top
View user's profile Send private message Visit poster's website
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Mon Dec 28, 2009 1:55 am    Post subject: Reply with quote

If you have backups and other apps, you most certainly should be using the ps2fdisk command for partitioning - http://playstation2-linux.com/projects/apa

Even if you don't want to use my installer (http://www.4shared.com/dir/10437217/89c160fc/PS2-Linux_Distro.html - ps2linux_v0.7.zip) to fully install my distro, you can run the installer to remove old Linux partitions and create new partitions without disturbing your other APA partitions on the hard drive (backups, etc.).
Back to top
View user's profile Send private message
suhm



Joined: 27 Dec 2009
Posts: 5
Location: Germany

PostPosted: Mon Dec 28, 2009 6:50 am    Post subject: Reply with quote

hi,

im using the tool winhiip for formating my harddisc. the partitions with my stuff im creating with ulaunch an gamebackups with hd loader. so i dont now if this is APA?

but, my question is now: can i skip the step "2. Delete all partitions with "d". " and create the swap and root partitions without run the risk to lose my game and stuff partitions etc... and linux should also able to run ;)

thx and sorry for my bad english ^^
Back to top
View user's profile Send private message
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Mon Dec 28, 2009 8:15 am    Post subject: Reply with quote

@suhm

If you use fdisk instead of ps2fdisk you might have a problem with your partitioning. Read the link - http://playstation2-linux.com/projects/apa

It explains far better than I can.
Back to top
View user's profile Send private message
suhm



Joined: 27 Dec 2009
Posts: 5
Location: Germany

PostPosted: Mon Dec 28, 2009 8:41 am    Post subject: Reply with quote

ohh ok in this case i use ps2fdisk. thx for the link. but which how to should i read?

http://playstation2-linux.com/download/apa/apa_2.2.1.html

or

http://playstation2-linux.com/download/apa/apa_xrhino_2.2.21-pre1-xr7.html

?
Back to top
View user's profile Send private message
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Mon Dec 28, 2009 10:40 am    Post subject: Reply with quote

The second link is correct, specifically this sublink:

http://playstation2-linux.com/download/apa/apa_xrhino_2.2.21-pre1-xr7.html#partition
Back to top
View user's profile Send private message
suhm



Joined: 27 Dec 2009
Posts: 5
Location: Germany

PostPosted: Tue Dec 29, 2009 9:48 am    Post subject: Reply with quote

hmm ok, but this how to is confusing me.. because, why should i upgrading und backuping my linux? i don't installed it yet. and on my mc isnt enough free space to copy the ram disk filesystem to it...

couldn't i quite simply using the ps2fdisk command instead fdisk in combination with this manual? http://kernelloader.sourceforge.net/tutorial/howtoinstalllinux.html
This manual is the best ;)
Back to top
View user's profile Send private message
deba5er



Joined: 04 Feb 2008
Posts: 175

PostPosted: Tue Dec 29, 2009 11:50 am    Post subject: Reply with quote

The ps2fdisk utility does not accept the same syntax (commands) that fdisk uses. So while I agree that the manual is great, it is a manual for installing PS2-Linux on a hard drive without special Sony partitions already on it.
You want a comparable manual for installation of PS2-Linux alongside other PFS data, but I don't think that exists.
Since this is a developer forum, you might not find people who have your answer - you might try asking the question on http://psx-scene.com/forums/forumdisplay.php?f=167
Back to top
View user's profile Send private message
suhm



Joined: 27 Dec 2009
Posts: 5
Location: Germany

PostPosted: Wed Jan 20, 2010 7:39 am    Post subject: Reply with quote

ok.. thanks i understand now the howto's an der APA sheme. but in my case there are already backups etc. on my hdd.
is there now way to create a APA partition without backuping oder total formating my hdd?

because, its specially this point which confused me:
Quote:

# Now you may format your drive with the APA partition scheme using any one of a number of programs, for example the Sony HDD Utility Disc, or the DMS HDD Format Utility.
Once you have formatted your hard-drive, reboot your PS2 and choose the initfs boot option. Login as root, with no password.
# Create the new partitions:

ps2fdisk

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



Joined: 04 Feb 2008
Posts: 175

PostPosted: Wed Jan 20, 2010 10:14 am    Post subject: Reply with quote

@suhm

Quote:
is there now way to create a APA partition without backuping oder total formating my hdd?

Since you note you already have backups installed on your hdd, then it is already formatted with APA format. You now need to add the PS2-Linux partitions (1) swap and (2) root using the "ps2fdisk" utility. You MUST use the ps2fdisk utility, and NOT fdisk. You must create partitions within the first 128 GB of the hard drive because ps2fdisk is NOT 48-bit (large hard drive) aware. I recommend if possible creating the swap partition as the first partition, immediately preceding the root (second partition) on the hard drive to reduce the movement of the hard drive heads for memory swapping. So you can for example create on /dev/hda the two partitions /dev/hda1 (swap) and /dev/hda2 (root). In kernelloader then you would add "root=dev/hda2" to the kernel parameters.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group