xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Xubuntu And Xebian On The Same Disc?, File naming problems...
Mugo
post Jun 29 2009, 05:51 PM
Post #1


X-S Enthusiast


Group: Members
Posts: 15
Joined: 18-December 08
Member No.: 399526



Hello Folks,

I´m about to finally finish my Linux multi-distros DVD compilation, thanks to all the help i could find here. So, for this i would like to start with a big thanks for all you helpfull fellows!

Now, my problem is about having Xubuntu and Xebian on the same DVD. Both of them use livefs as the boot image. And both of them look for this file at the DVD´s root.

I´m totally dummy in Linux matters. That put aside, seems to me that the file "initrd" is the caller of livefs.

I tried to hex edit the initrd file to change livefs names for both, Xubuntu and Xebian. Changed them to livef1 and livef2, but they are still looking for a livefs file. I need ti rename these files to something else so i can have both of them at the DVD´s root at the same time.

How can i change the files names, so i can have both distros in the same DVD?

Thanks!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Jun 30 2009, 02:31 PM
Post #2


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



QUOTE(Mugo @ Jun 30 2009, 12:51 AM) *

I´m totally dummy in Linux matters. That put aside, seems to me that the file "initrd" is the caller of livefs.

I tried to hex edit the initrd file to change livefs names for both, Xubuntu and Xebian. Changed them to livef1 and livef2, but they are still looking for a livefs file. I need ti rename these files to something else so i can have both of them at the DVD´s root at the same time.

How can i change the files names, so i can have both distros in the same DVD?

Rebuild the initrd file. You'll need the file command to decipher the file format of initrd - which could be cpio , gz, a loop file of ext2 etc. You'll then invoke the appropriate command(s) to unpack the file and modify the init command or whatever calls the livefs. Repack the initrd after you are done modifying.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Mugo
post Jun 30 2009, 07:22 PM
Post #3


X-S Enthusiast


Group: Members
Posts: 15
Joined: 18-December 08
Member No.: 399526



Hey ldotsfan,

Thanks again for trying to help me :-)

In the header of initrd i can see the string "Compressed ROMFS".

I´ve sucessfully mounted this image with an ubuntu livecd on my PC. But the file is read only.

After everything i´ve read, seems this file is a cramfs image?

Now i have two problems: as i told you before, i´m a totally dummy. I don´t know where to look for the file or wherever i must change to load livefs with a different name.

Also, i don´t know how to rebuild the initrd file.

Maybe i need to do this directly in the Xbox Xubuntu?

If you can help me here, please be as detailed as you can be. Or if you know where i can read about this process, it´ll be a great help.

Thank you!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ldotsfan
post Jul 1 2009, 01:50 PM
Post #4


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



QUOTE(Mugo @ Jul 1 2009, 02:22 AM) *

After everything i´ve read, seems this file is a cramfs image?

Now i have two problems: as i told you before, i´m a totally dummy. I don´t know where to look for the file or wherever i must change to load livefs with a different name.

Also, i don´t know how to rebuild the initrd file.

I'll try but this will be challenging.

The rebuilding will be something along the line of this

This post might help too.

ls -R > listing.txt and pastebin of the contents of the initrd file might help too - to identify which file to modify
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 20th June 2013 - 08:17 AM