masrust.web.id

just for share

Archive for the ‘debian’ tag

Install Debian Linux from USB boot memory stick

leave a comment

There are more and more Laptops nowadays which do not have a CD/DVD-ROM facility build in but are able to boot from USB memory stick. This small guide provides all needs on how to create a bootable USB memory stick to install a Debian without a need for CD/DVD drive.

Before you continue make sure that you have backed up all your data from your USB memory stick. After completing this guide your USB memory stick will contain a new partition table and all your data will be lost.

This guide also assumes that you have a running linux system and USB memory stick with minimal size of 512MB which you will use for the process of creating Debian boot installation USB stick.
1. Find USB device name

Plug in your USB stick and find its device file name by:

fdisk -l

For the rest of this guide we are going to use /dev/sdb as our target.

WARNING: DO NOT COPY AND PASTE COMMANDS FROM THIS PAGE UNLESS YOUR TARGET DEVICE IS ALSO /dev/sdb !!
2. Create FAT16 partition

Next we need to create FAT16 partition. For this we can use cfdisk with -z option. This command will completely remove all your data from your USB stick, so backup first !:

cfdisk -z /dev/sdb

and create a first primary partition with the minimal size of 260MB and leave the rest unpartitioned or create second partition with some other filesystem for normal use of your USB stick. The size of 260 MB will fit a current Debian stable boot.img.gz and and Debian netinst ISO image.

NOTE: it is fine to create a single partition with full size of your USB memory stick but you will not be able to use more than 239MB of from your actual USB disk memory size. Once done the output of fdisk -l will look similar to the one below.

Device Boot Start End Blocks Id System
/dev/sdb1 1 197 390817 6 FAT16
/dev/sdb2 198 1016 1624896 b W95 FAT32

Download Debian boot image As a nest step we need to download Debian boot image. Use wget:

wget ftp://ftp.debian.org/debian/dists/stable/main/installer-i386/current/images/hd-media/boot.img.gz

NOTE: if you want testing or unstable version of Debian boot image just change a keyword stable in the previous URL to unstable or testing.
Read the rest of this entry »

Popularity: 19% [?]

Written by masrust

April 9th, 2010 at 10:26 pm

Posted in Linux

Tagged with , , ,

Debian Installer 6.0 Alpha1 release

2 comments

[ad#Google Adsense-1]
The Debian Installer Team[1] is pleased to announce the Debian Installer 6.0 Alpha1. This first release since Lenny brings a lot of new features and improvements.

It is also important to note that we have disabled the Graphical
Installer, and as consequence the speakup drivers, for this release
due a breakage in the DirectFB backend of the GTK+ library. We are
working to get this fixed for next release.

As most people will have noticed, this release has taken more time than
usual. This was for various reasons that go from technical (major
changes in the installer itself and other components that affect us)
to lack of manpower to manage all the work required quickly. We really
need more people to help us and contribute; please contact us if you’re
interested in helping.

Here follows the most important new features and improvements.

Help during the installation process

The dialogs presented during the installation process now have the
capacity to offer the user a help option. This is already in use in some
dialogs during the installation and will be increasingly used in future
releases. We believe this will improve the user experience during the
installation process, especially for new users.

Installation of recommended packages

For Lenny and earlier releases Debian Installer did not install Recommends.
This has been changed for Squeeze and D-I will now install recommended
packages by default.

There is an option to configure APT to not install Recommends by default
(from the boot prompt or using preseeding). This option is intended only
for expert users who know what the consequences are of not installing
Recommends and who have the experience/skills needed to cherry-pick any
desired Recommends after the installation has been completed.

The installer makes a few specific exceptions to the general configuration
by either always or never installing the Recommends of specific packages
in cases where following the general setting gives undesired results.
Read the rest of this entry »

Popularity: 11% [?]

Written by masrust

February 23rd, 2010 at 9:06 pm

Posted in Linux

Tagged with , , ,

Mengatur waktu di debian melalui command line

2 comments

Kalau mengatur waktu di linux yang ada desktopnya relatif lebih mudah karena  tinggal klik kanan waktu dan tanggal di display waktu di taskbar. Tapi bagaimana jika dilakukan di server yang secara basic memang tidak disertai aplikasi-aplikasi desktop?

Berikut sedikit saya akan memberikan solusinya :D

  1. Masuk sebagai root dengan mengetikkan su kemudian enter (masukkan password root).
  2. Untuk mengetahui waktu sekarang itu mudah tinggal masukkan perintah date.
  3. Untuk mengubah zona waktu masukkan perintah dpkg-reconfigure tzdate kemudian pilih zona waktu yang diinginkan.
  4. Jika ingin mengatur secara manual ketikkan date nnddhhmmyyyy.ss dengan keterangan nn adalah dua digit bulan (01 sampai 12), dd adalah dua digit untuk tanggal (01 sampai 31 tergantung banyaknya hari dalam bulan itu), hh adalah dua digit jam (00 sampai 2359), mm dua digit untuk menit (00 sampai 59), yyyy empat digit untuk tahun dan ss adalah dua digit untuk detik tetapi harus diawali dengan tanda titik karena ini merupakan opsional. Contohnya date 011912302010.52

Setelah langkah tersebut selesai silakan dicek kembali tanggal sistem dengan mengetikkan date dan jika anda berhasil maka settingannya akan sesuai dengan yang anda inginkan sesuai settingan manual tadi.

Popularity: 12% [?]

Written by masrust

January 19th, 2010 at 3:21 am

Posted in Computer,Linux

Tagged with , , ,