magic f/e-drive

Talk about anything related to Gentoox or Gentoo.
Post Reply
User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

magic f/e-drive

Post by nobspangle » Sat Jan 22, 2005 6:10 pm

If these scripts are to be removed maybe it could be included as an option on the resctoox disc, along with another option to convert a loopback install to a native install.

That way you get around the problems of trying to move mounted filesystems.
If you keep an open mind, will your brain fall out?

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 12:41 am

Thats a damned good point... except... why would people install via FTP.. then run resctoox (from a cd) to move it? Hehe...

I guess, the install would take ages from a drive that has issues reading a CD.. so once resctoox is booted, moving to F: wouldnt be such an issue. I'll look into that, definitely!

Great idea!
Last edited by ShALLaX on Sun Jan 23, 2005 5:33 am, edited 1 time in total.
The original Xbox adaptation of Gentoo

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 5:30 am

Done! Resctoox v1.3 released -- would have been sooner but while I was running tests, the copying of rootfs errored out at 3GB (Copying this much takes about 30 minutes)... turns out it was a bug in BusyBox because upgrading to v1.0 solved it (Yes.. I DEFINITELY had large block device enabled before!). And on top of that I've had to do testing which took away 2 hours.

Anyway, thanks for the suggestion!
The original Xbox adaptation of Gentoo

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sun Jan 23, 2005 1:16 pm

you should sleep more :)

Also some people may install to E from the CD and then want to move to F or vice versa.

Have you included the convert to native option?
If you keep an open mind, will your brain fall out?

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 3:20 pm

No, I havent put a convert to native.. thinking about it.. I probably should have! :o
The original Xbox adaptation of Gentoo

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 4:13 pm

While I'm at it... I'll add something to allow the G: drive h4x0rs to benefit...

Code: Select all

###
# Untested G: support.
# This will ONLY work with default drive layouts (no xbpartitioner crap).
# This should work if your F: goes up to 137GB and your G: takes the rest.
# Your G: partition must be at least 4.5GB for this to work - free space
# will NOT be checked for!  If you dont have enough space, it will just fail.
#
# Uncomment the next line of code to enable it.
###
#START=268435457
Look logical?
The original Xbox adaptation of Gentoo

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 4:33 pm

We'll also have (finally) a decent text editor in Resctoox v1.4... NANO!

I guess I _could_ also write a script to go back from native to loopback... but ... nah!
The original Xbox adaptation of Gentoo

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sun Jan 23, 2005 6:35 pm

native back to loopback would hardly ever work as you would have to have less than 4GB of data on your native partition.
If you keep an open mind, will your brain fall out?

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Sun Jan 23, 2005 6:51 pm

Good point. Unless i worked out some clever script to make it distribute it into many different loopback filesystems .. then raid them together... but.. no... just no! hehe
The original Xbox adaptation of Gentoo

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sun Jan 23, 2005 11:01 pm

RAID loopbacks, there's an idea, trouble is there would be nowhere to put them, all the space would be on the native partition you were copying from. Would you use RAID 0 or JBOD? I guess JBOD no performance to be gained from RAID 0 loopbacks on the same disk.

Can you RAID loopbacks, I know you can RAID any kind of block device but is a loopback a block device?

I think you would have to create a web of loopbacks all mounted inside each other, then copy the data in to it.

This just isn't going to work is it.
If you keep an open mind, will your brain fall out?

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Tue Jan 25, 2005 2:49 pm

Heheheh... might be worth a try as an "im bored" project...
The original Xbox adaptation of Gentoo

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests