Penguin

Differences between version 7 and previous revision of EPIA-Grub.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 7 Last edited on Monday, February 27, 2006 3:43:50 am by MattCollins Revert
Older page: version 6 Last edited on Monday, February 27, 2006 3:35:07 am by MattCollins Revert
@@ -168,4 +168,65 @@
  
 With your boot partition in the first 1023 cylinders as outlined above it is perfectly possible to place your subsequent OS layouts in extended partitions anywhere on the disk. 
  
 Create a new extended partition as partition 4, then divide up the space amongst as many drives as you like. I made two 5gb partitions for a 'stable' and 'test' OS image, while keeping /dev/hdb2 simply as a 'data' partition for my home directories and PVR recordings. 
+  
+Once resized, my filesystem looked as follows:  
+  
+Fdisk:  
+<pre>  
+Disk /dev/hdb: 203.9 GB, 203928109056 bytes  
+255 heads, 63 sectors/track, 24792 cylinders  
+Units = cylinders of 16065 * 512 = 8225280 bytes  
+  
+ Device Boot Start End Blocks Id System  
+/dev/hdb1 1 60 481918+ 82 Linux swap / Solaris  
+/dev/hdb2 66 23432 187695427+ 83 Linux  
+/dev/hdb3 61 65 40162+ 83 Linux  
+/dev/hdb4 23433 24792 10924200 5 Extended  
+/dev/hdb5 23433 24112 5462068+ 83 Linux  
+/dev/hdb6 24113 24792 5462068+ 83 Linux  
+</pre>  
+  
+/etc/fstab:  
+<pre>  
+# filesystem mountpoint type options dump pass  
+/dev/hdb6 / ext3 defaults,errors=remount-ro 0 1  
+/dev/hdb3 /boot ext3 defaults 0 1  
+/dev/hdb2 /data ext3 defaults 0 2  
+/dev/hdb1 none swap defaults 0 0  
+  
+proc /proc proc defaults 0 0  
+sysfs /sys sysfs defaults 0 0  
+</pre>  
+  
+/boot/grub/menu.lst:  
+<pre>  
+default 0  
+timeout 5  
+color cyan/blue white/blue  
+title stable, kernel 2.6.13.2-chw-3  
+root (hd0,2)  
+kernel /vmlinuz-2.6.13.2-chw-3 root=/dev/hdb6 ro  
+savedefault  
+boot  
+title stable, kernel 2.6.13.2-chw-3 (recovery mode)  
+root (hd0,2)  
+kernel /vmlinuz-2.6.13.2-chw-3 root=/dev/hdb6 ro  
+savedefault  
+boot  
+title test, kernel 2.6.13.2-chw-3  
+root (hd0,2)  
+kernel /vmlinuz-2.6.13.2-chw-3 root=/dev/hdb2 ro  
+savedefault  
+boot  
+title test, kernel 2.6.13.2-chw-3 (recovery mode)  
+root (hd0,2)  
+kernel /vmlinuz-2.6.13.2-chw-3 root=/dev/hdb2 ro single  
+savedefault  
+boot  
+</pre>  
+  
+/boot/grub/device.map  
+<pre>  
+(hd0) /dev/hdb  
+</pre>