Code Sample |
boot: |
Code Sample |
boot: dsl toram<enter> |
Code Sample |
You must boot with a live CD with the mydsl=xxxx Or have a known working autoscan mydsl directory. |
Code Sample |
boot: dsl toram mydsl=hda4/dsl/myremaster |
Code Sample |
/mnt/hda4/dsl/dsliso |
Code Sample |
[/home/dsl]# |
Code Sample |
fdisk -l |
Code Sample |
Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 383 3076416 b Win95 FAT32 /dev/hda2 384 1658 10241437+ c Win95 FAT32 (LBA) [/home/dsl]# |
Code Sample |
fdisk /dev/hda |
Code Sample |
[/home/dsl]# fdisk /dev/hda The number of cylinders for this disk is set to 2434. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., 0ld versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): |
Code Sample |
Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): |
Code Sample |
Command (m for help): n |
Code Sample |
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (1659-2434, default 1659): |
Code Sample |
Partition number (1-4): 3 First cylinder (1659-2434, default 1659): 1659 Last cylinder or +size or +sizeM or +sizeK (1659-2434, default 2434): +1200M Command (m for help): p Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 383 3076416 b Win95 FAT32 /dev/hda2 384 1658 10241437+ c Win95 FAT32 (LBA) /dev/hda3 1659 1805 1180777+ 83 Linux Command (m for help): |
Code Sample |
Command (m for help): n Command action e extended p primary partition (1-4) p Selected partition 4 First cylinder (1806-2434, default 1806): Last cylinder or +size or +sizeM or +sizeK (1806-2434, default 2434): Using default value 2434 Command (m for help): p Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 383 3076416 b Win95 FAT32 /dev/hda2 384 1658 10241437+ c Win95 FAT32 (LBA) /dev/hda3 1659 1805 1180777+ 83 Linux /dev/hda4 1806 2434 5052442+ 83 Linux Command (m for help): |
Code Sample |
Command (m for help): t Partition number (1-4): 3 Hex code (type L to list codes): 82 Changed system type of partition 3 to 82 (Linux swap) Command (m for help): p Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 383 3076416 b Win95 FAT32 /dev/hda2 384 1658 10241437+ c Win95 FAT32 (LBA) /dev/hda3 1659 1805 1180777+ 82 Linux swap /dev/hda4 1806 2434 5052442+ 83 Linux Command (m for help): |