Page 1 of 1

Linux trial environment Guide (USB-HDD)

Posted: Thu Nov 02, 2006 10:04 pm
by oryaaaaa
I did success ubuntu6.10 DesktopCD Edition.

You have to download 32bit ubuntu 6.10 Desktop CD
and burn to cd-r
Bios boot setting
first CDROM
second HDD (USB or others)
Third HDD (ATA or SATA)
HGST HTS541040G9AT00 5400rpm ATA/IDE
LANTEC NexStar-3 (USB Interface, IDE to USB2.0)
PC nForce430 USB2.0 enable
AMD Athlon64 X2 2.6GHz
PC3200 2GB

dmesg & fdisk
[ 189.610322] usb 1-4: new high speed USB device using ehci_hcd and address 8
[ 189.677295] usb 1-4: configuration #1 chosen from 1 choice
[ 189.677772] scsi1 : SCSI emulation for USB Mass Storage devices
[ 189.677743] usb-storage: device found at 8
[ 189.677745] usb-storage: waiting for device to settle before scanning
[ 191.986380] usb-storage: device scan complete
[ 191.987631] Vendor: HTS54104 Model: 0G9AT00 Rev: MB2O
[ 191.987638] Type: Direct-Access ANSI SCSI revision: 00
[ 191.988888] SCSI device sdc: 78140160 512-byte hdwr sectors (40008 MB)
[ 191.989639] sdc: Write Protect is off
[ 191.989642] sdc: Mode Sense: 00 14 00 00
[ 191.989644] sdc: assuming drive cache: write through
[ 191.990733] SCSI device sdc: 78140160 512-byte hdwr sectors (40008 MB)
[ 191.991483] sdc: Write Protect is off
[ 191.991485] sdc: Mode Sense: 00 14 00 00
[ 191.991486] sdc: assuming drive cache: write through
Its sdc is usb hdd

$sudo fdisk /dev/sdc
Disk /dev/sdc: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 2147MB 2147MB primary ext2 boot
2 2147MB 4294MB 2147MB primary linux-swap
3 4294MB 25.3GB 21.0GB primary ext2
4 25.3GB 40.0GB 14.7GB primary fat32 lba
sudo gedit /etc.fstab
unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sdc1 /target/boot ext2 rw 0 0
/dev/sdc3 /target ext2 rw 0 0

Lets go install programs !

In PartitinEditor
firtst, / area delete, and / area create ext2

/boot /dev/sdc1
swap /dev/sdc2
/ /dev/sdc3

Last Installation Questions, Grub?
no input (hd0), you have to input sdc1 (/dev/sdc1)

Caution (hd0)
If your NTFS RAID is /dev/sda, Run install Grub rewrite /dev/sda.
you cant WindowsXP FIXMBR, and RAID CRUSH (NVIDIA RAID, etc)

$sudo mount /dev/sdc1 /mnt

$sudo gedit /mnt/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde

$sudo gedit /mnt/grub/menu.lst
timeout 30
#hiddenmenu

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
#kernel /vmlinuz-2.6.17-10-generic root=/dev/sdc3 ro quiet splash locale=ja_JP
kernel /vmlinuz-2.6.17-10-generic root=/dev/sdc3 ro locale=ja_JP
initrd /initrd.img-2.6.17-10-generic
savedefault
boot

$sudo umount /mnt
$sudo sync
$sudo shutdown -h now

reboot
once remove USB-cabel, and connect USB-cable (HDD OFF/ON)
(Your PC BIOS recognize Refresh)
[17179598.352000] usb-storage: device scan complete
[17179598.352000] usb-storage: device scan complete
[17179598.352000] Vendor: HTS54104 Model: 0G9AT00 Rev: MB2O
[17179598.352000] Type: Direct-Access ANSI SCSI revision: 00
[17179598.356000] Vendor: Generic Model: STORAGE DEVICE Rev: 9228
[17179598.356000] Type: Direct-Access ANSI SCSI revision: 00
[17179598.360000] SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
[17179598.360000] sda: Write Protect is off
[17179598.360000] sda: Mode Sense: 00 14 00 00
[17179598.360000] sda: assuming drive cache: write through
[17179598.360000] Vendor: Generic Model: STORAGE DEVICE Rev: 9228
[17179598.364000] Type: Direct-Access ANSI SCSI revision: 00
[17179598.364000] SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
[17179598.364000] sda: Write Protect is off
[17179598.364000] sda: Mode Sense: 00 14 00 00
[17179598.364000] sda: assuming drive cache: write through

stop (HDD LED Flash)
once remove USB-cabel, and connect USB-cable (HDD OFF/ON)
(etc if /dev/sda is usb hdd only display, This action usb hdd have /dev/sdc)

[17179598.364000] sda:<6>usb 1-4: USB disconnect, address 3
[17179618.648000] sd 0:0:0:0: SCSI error: return code = 0x10000
[17179618.648000] end_request: I/O error, dev sda, sector 0
[17179618.648000] Buffer I/O error on device sda, logical block 0
[17179618.648000] sd 0:0:0:0: rejecting I/O to device being removed
[17179618.648000] Buffer I/O error on device sda, logical block 0
[17179618.648000] unable to read partition table
[17179618.648000] sd 0:0:0:0: Attached scsi disk sda
[17179618.656000] sd 1:0:0:0: Attached scsi removable disk sda
[17179618.660000] sd 1:0:0:1: Attached scsi removable disk sdb
[17179625.152000] usb 1-4: new high speed USB device using ehci_hcd and address 9
[17179625.296000] usb 1-4: configuration #1 chosen from 1 choice
[17179625.296000] scsi2 : SCSI emulation for USB Mass Storage devices
[17179625.296000] usb-storage: device found at 9
[17179625.296000] usb-storage: waiting for device to settle before scanning
[17179630.296000] usb-storage: device scan complete
[17179630.300000] Vendor: HTS54104 Model: 0G9AT00 Rev: MB2O
[17179630.300000] Type: Direct-Access ANSI SCSI revision: 00
[17179630.300000] SCSI device sdc: 78140160 512-byte hdwr sectors (40008 MB)
[17179630.304000] sdc: Write Protect is off
[17179630.304000] sdc: Mode Sense: 00 14 00 00
[17179630.304000] sdc: assuming drive cache: write through
[17179630.304000] SCSI device sdc: 78140160 512-byte hdwr sectors (40008 MB)
[17179630.308000] sdc: Write Protect is off
[17179630.308000] sdc: Mode Sense: 00 14 00 00
[17179630.308000] sdc: assuming drive cache: write through
[17179630.308000] sdc: sdc1 sdc2 sdc3 sdc4
launch ubuntu6.10

etc:::
Gefore7xxx/6xxxx install
sudo aptitude search nvidia
sudo aptitude show nvidia-glx
sudo aptitude install nvidia-glx
sudo nvidia-glx-config enable
nvidia-settings
sudo nvidia-xconfig
sudo nvidia-xconfig --mode=1280x1024

$ sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
[Desktop Entry]
Name=Configuracion nVIDIA
Comment=Abre la configuracion de nVIDIA
Exec=nvidia-settings
Icon=(el icono que les guste)
Terminal=false
Type=Application
Categories=Application;System;

Probelems?
sudo apt-get install --reinstall xserver-xorg
(reboot)

Last !!!
sudo gedit /etc/X11/xorg.conf
# add lines
Section “Extensions”
Option “Composite” “Disable”
EndSection
(reboot)

Purebasic linux DL from Purebasic.com
extract your home dir

$ gedit .bashrc
#add lines
export PUREBASIC_HOME=~/purebasic
export PATH=$PUREBASIC_HOME/compilers:$PATH
$ source ~/.bashrc

Synaptic manager lauch
GTK1.2-Dev, GTK2.0-Dev, SDL-Dev, libxxf86vm-dev (, ogre lib?)

$ purebasic

Welcome PureBasic Linux :D

Posted: Sat Nov 04, 2006 10:18 am
by oryaaaaa
Tips :: It starts from specified HDD.
/etc/vfstab::/dev/sdc3 UUID=??? copy
# /dev/sdc3
UUID=c184cff1-8097-45a2-b053-82a62361d081 / ext2 defaults,errors=remount-ro 0 1
# /dev/sdc1
UUID=8cbac0a8-6701-49cd-a16e-a54c5c34ef89 /boot ext2 defaults 0 2
# /dev/sdc2
UUID=feb53137-efcf-4d7b-8ae0-bf03536fb11d none swap sw 0 0

$sudo mount /dev/sdc3 /mnt
$sudo gedit /mnt/grub/menu.lst

grub/menu.lst
## ## Start Default Options ##
## default kernel options for automagic boot options
# kopt=root=UUID=c184cff1-8097-45a2-b053-82a62361d081 ro
# kopt_2_6=root=/dev/sdc3 ro

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /vmlinuz-2.6.17-10-generic root=UUID=c184cff1-8097-45a2-b053-82a62361d081 ro quiet splash locale=ja_JP
#kernel /vmlinuz-2.6.17-10-generic root=UUID=c184cff1-8097-45a2-b053-82a62361d081 ro locale=ja_JP
initrd /initrd.img-2.6.17-10-generic
savedefault
boot

$sudo umount /mnt