ramusb.igz : initrd to boot USB-Disk with kernel-huge

In this section some info about ZorOS CD live filesystem, scripts, language translations, tip and tricks

ramusb.igz : initrd to boot USB-Disk with kernel-huge

Postby zoros » Sun Sep 27, 2009 9:17 pm

This is an alternative method to boot an USB Hard Disk (or USB-Stick), but also standard HD, using static or huge kernel.
This version 0.4 can also boot IDE, Sata, partitions and systems file inside


It uses binary busybox v1.7.2 of 1.3.3-i486-1 Slackware package (previous versions does not work).

To boot properly you must set a signature file (i.e "touch /etc/mySlack12.2") and pass this file name as kernel command line in lilo.conf.
Example of lilo.conf:
Code: Select all
image = /boot/vmlinuz-huge-smp-2.6.27.7-smp
label = myUSBSlack
initrd=/boot/ramusb.igz
read-only
append = "USB_DISK_SIGNATURE=etc/mySlack12.2"

This new version parse also this parameters: ro, read-only, rw,read-write, root=..., rootfstype=...
and also:
1) if USB_DISK_SIGNATURE file is an image file with a valid Linux filesystem inside, then this image is mounted in a loop device and becomes root device
2) elif USB_DISK_SIGNATURE is a directory with a valid Linux filesystem inside, then execute switch_root to this system

Download version 0.4 (inside ZorOS 3.6 live CD):

ramusb.igz
ramdisk to boot with "Signature" file - v0.4 - 32 bit version
MD5SUM: 6a09b8c21d04d1f9a558013a3a6e6591
(768.58 KiB) Downloaded 636 times

ramusb64.igz
ramdisk to boot with "Signature" file - v0.4 - 64 bit version
MD5SUM: df8afe62f2695385f3d57f8eaf3c0f6e
(1013.22 KiB) Downloaded 579 times

... a related topic is here
User avatar
zoros
Site Admin
 
Posts: 22
Joined: Thu Mar 12, 2009 9:16 am

Re: ramusb.igz : initrd to boot USB-Disk with kernel-huge

Postby dinux » Fri Oct 02, 2009 9:40 pm

Hi zoros :) ,
your alternative installer (in zoros-3.6 CD) works fine using packages inside Slackware 13 DVD, but I had a issue with my new external USB-disk

the product is this... the problem:

in first case I installed S13 in partition beyond cylinder 1023, so at reboot Lilo said "99 99 99 99 .. .. .."

therefore I reserved a first partition FAT32 of only 7 GB for Windows (that see only first partition), so remaining below cylinder 1023

the new Lilo installation boot ok now ....great 8-)

this the partition table:
Code: Select all
root@darkstar:~# fdisk -l
...
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc7d69a53

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         852     6843658+   b  W95 FAT32
/dev/sdc2             853        3041    17583142+  83  Linux
/dev/sdc3            3042       29000   208515667+  83  Linux
/dev/sdc4   *       29001       30401    11253532+  83  Linux
root@darkstar:~#


these the kernel messages:
Code: Select all
root@darkstar:~# dmesg | grep sdc
sd 8:0:0:0: [sdc] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 8:0:0:0: [sdc] Write Protect is off
sd 8:0:0:0: [sdc] Mode Sense: 38 00 00 00
sd 8:0:0:0: [sdc] Assuming drive cache: write through
sd 8:0:0:0: [sdc] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
sd 8:0:0:0: [sdc] Write Protect is off
sd 8:0:0:0: [sdc] Mode Sense: 38 00 00 00
sd 8:0:0:0: [sdc] Assuming drive cache: write through
sdc:<6>Intel ISA PCIC probe: not found.
sdc1 sdc2 sdc3 sdc4
sd 8:0:0:0: [sdc] Attached SCSI disk
root@darkstar:~#


P.S. many USB-disk works fine beyond cylinder 1023 ... this not :evil: !
dinux
 
Posts: 1
Joined: Fri Oct 02, 2009 12:51 pm

Re: ramusb-05dm.igz : to boot HW-RAID with kernel-huge

Postby zoros » Sat Oct 10, 2009 7:37 pm

this is same as ramusb.igz (v0.4), but with dmraid support ...

it can boot hardware RAID disks without /boot partition ;)

Download:

ramusb-05dm.igz
ramdisk image tha contains dmraid - version 0.5dm
MD5SUM: fa4096a05fd54b148eeeab92b2e226b9
(1.04 MiB) Downloaded 656 times
User avatar
zoros
Site Admin
 
Posts: 22
Joined: Thu Mar 12, 2009 9:16 am


Return to ZorOS Live CD/USB

Who is online

Users browsing this forum: No registered users and 1 guest

cron