This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hardware:dbbc [2012/03/29 02:36] Stuart Weston [Recording Configuration DBBC And Mark5B+] |
hardware:dbbc [2012/03/29 20:21] Stuart Weston [Related Links] |
||
---|---|---|---|
Line 26: | Line 26: | ||
====== Linux OS Installation ====== | ====== Linux OS Installation ====== | ||
- | <note>We have had no luck with the Linux version and are currently sticking with Windows </note> | ||
- | Dave Graham provided a {{:hardware:dg_email_2010_05_11.rtf|current version of the Linux implementation on 2010 May 11}}. The files were downloaded and placed in a directory on a Linux PC. An empty USB-mounted HDD was used and partitions created to match the first two as described in the READ.ME file provided by Dave. This was done using ''fdisk''. The first partition was tagged as bootable. | + | * [[hardware:dbbc.linux|Linux OS Installation]] |
- | Then ext3 filesystems were installed on each partition using ''mkfs.ext3''. | ||
- | The image of the first partition was then copied to the disk:\\ | ||
- | ''dd if=dd_sda1 /dev/sdc1'' | ||
- | |||
- | The file ''boot_sector'' was copied to the master boot record:\\ | ||
- | ''sudo dd if=boot_sector of=/dev/sdc bs=512 count=1'' | ||
- | |||
- | Then the first partition was mounted at /mnt/tmp\\ | ||
- | ''sudo mkdir /mnt/tmp''\\ | ||
- | ''sudo mount /dev/sdc1 /mnt/tmp''\\ | ||
- | Then find out the disk ID:\\ | ||
- | ''ls -l /dev/disk/by-id | grep sdc''\\ | ||
- | Then edit the fstab file in the mounted partition so that the / partition has the ID of /dev/sdc1 and /usr2 is at /dev/sdc2, /data at /dev/sdc3. /etc/fstab then looks like this:\\ | ||
- | <file> | ||
- | /dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part1 / ext3 acl,user_xattr 1 1 | ||
- | proc /proc proc defaults 0 0 | ||
- | sysfs /sys sysfs noauto 0 0 | ||
- | debugfs /sys/kernel/debug debugfs noauto 0 0 | ||
- | usbfs /proc/bus/usb usbfs noauto 0 0 | ||
- | devpts /dev/pts devpts mode=0620,gid=5 0 0 | ||
- | /dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part2 /usr2 ext3 acl,user_xattr 1 2 | ||
- | /dev/disk/by-id/usb-WDC_WD75_00AACS-00D6B0_DCA425712418-0:0-part3 /data ext3 acl,user_xattr 1 2 | ||
- | </file> | ||
- | |||
- | also edit /mnt/tmp/boot/grub/menu.lst and change the disk ID. | ||
- | |||
- | The disk can now be booted from. | ||
==== Installation on a Compact Flash Card ==== | ==== Installation on a Compact Flash Card ==== | ||
- | Use a fast (133x or better) card with 4 GB or more. We're using a SanDisk Ultra 200x 8 GB. | + | * [[hardware.dbbc.install_on_flash_card| Installation on a Compact Flash Card]] |
- | Mounted the CF on a Linux PC via a USB card reader. Card appears as /dev/sde1 | ||
- | As the card is larger than 4 GB I partitioned it to match Dave's card: | + | ====== DBBC Power Measurement ====== |
- | <code>disk /dev/sdb: 4009 MB, 4009549824 bytes | + | * [[hardware.dbbc.power_measure| DBBC Power Measurement]] |
- | 255 heads, 63 sectors/track, 487 cylinders | + | |
- | Units = cylinders of 16065 * 512 = 8225280 bytes | + | |
- | Disk identifier: 0xe7cf73dd | + | |
- | Device Boot Start End Blocks Id System | + | ====== Commercial Boards used in the DBBC ===== |
- | /dev/sdb1 * 2 487 3903795 83 Linux | + | |
- | </code> | + | |
- | <code> | + | * [[hardware.dbbc.boards| DBBC commercial boards used]] |
- | sudo fdisk /dev/sde | + | |
- | p | + | |
- | d (deleted FAT partition) | + | |
- | n | + | |
- | p | + | |
- | 1 | + | |
- | 2 | + | |
- | 487 (added Linux partition) | + | |
- | a | + | |
- | 1 (made partition bootable) | + | |
- | p (should now match Dave's card) | + | |
- | w | + | |
- | </code> | + | |
- | Then installed an ext3 filesystem: | + | ====== Related Links ===== |
- | sudo mkfs.ext3 /dev/sde1 | + | |
- | Copy the image onto the CF: | + | {{http://www.noto.ira.inaf.it/index.php/project|DBBC project home page}} |
- | gunzip dbbc_if.gz | + | |
- | sudo dd if=dbbc_cf of=/dev/sde | + | |
- | Mount the disk | + | === TOW 2011 === |
- | sudo mount /dev/sde1 /mnt/tmp | + | |
- | Edit ''/mnt/tmp/fstab'' and change first line to read | + | {{ftp://ivscc.gsfc.nasa.gov/pub/TOW/tow2011/notebook/Tuccari.Sem.pdf|DBBC Overview}} |
- | /dev/sda1 / ext3 noatime,acl,user_xattr 1 1 | + | |
- | Edit ''/mnt/tmp/boot/grub/menu.lst'' and replace references to the disk partition to ''/dev/sda1'': | + | === DBBC3 === |
- | + | ||
- | <code> | + | |
- | # Modified by YaST2. Last modification on Fri May 14 13:24:28 UTC 2010 | + | |
- | default 0 | + | |
- | timeout 8 | + | |
- | gfxmenu (hd0,0)/boot/message | + | |
- | ##YaST - activate | + | |
- | + | ||
- | ###Don't change this comment - YaST2 identifier: Original name: linux### | + | |
- | title openSUSE 10.3 | + | |
- | root (hd0,0) | + | |
- | kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/sda1 vga=0x31a splash=silent showopts | + | |
- | initrd /boot/initrd-2.6.22.5-31-default | + | |
- | + | ||
- | ###Don't change this comment - YaST2 identifier: Original name: failsafe### | + | |
- | title Failsafe -- openSUSE 10.3 | + | |
- | root (hd0,0) | + | |
- | kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/sda1 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3 | + | |
- | initrd /boot/initrd-2.6.22.5-31-default | + | |
- | </code> | + | |
- | + | ||
- | Unmount, eject and boot on DBBC! | + | |
- | + | ||
- | === 4 GB card installation === | + | |
- | + | ||
- | Tim has been having trouble getting the 8 GB card to boot so I got a 4 GB SanDisk Ultra 200x card. | + | |
- | + | ||
- | Partition table initially showed | + | |
- | + | ||
- | <code>4011 MB, 4011614208 cylinders | + | |
- | 128 heads, 63 cylinders/track, 971 cylinders | + | |
- | units = cylinders of 8064 * 512 = 4128768 bytes</code> | + | |
- | + | ||
- | so in the "extra functionality" mode of fdisk I changed | + | |
- | number of cylinders to 487 | + | |
- | and number of heads to 255 | + | |
- | + | ||
- | partition table then could be made to match Dave's. | + | |
- | + | ||
- | ====== DBBC Power Measurement ====== | + | |
- | + | ||
- | * [[hardware.dbbc.power_measure| DBBC Power Measurement]] | + | |
- | + | ||
- | ====== Commercial Boards used in the DBBC ===== | + | |
- | + | ||
- | * [[hardware.dbbc.boards| DBBC commercial boards used]] | + | |
+ | {{http://www.oan.es/gm2012/pdf/oral_id_130.pdf|DBBC3 - A full digital implementation of the VLBI2010 backend}} |