hmmm…


Category Archive

The following is a list of all entries from the Linux category.

My Damn Small Linux Story

dsl screenshot

All linux can multi boot each other. So that means, Damn Small Linux either.
The first questions that i ask, can dsl do it?

I was gambling that night and dicide to try dsl to be installed into my computer, while in my computer had been installed Knoppix, Xp and Vector Linux. Because i feel enough with vector linux, so i planned to overwrite vector linux with dsl.

 

So, it was begin that night…
Booting up my computer, change BIOS setting and then i entered dsl with a speed! So i begin to install
As i resume, dsl is the fastest distro i’ve ever used so long and also its installation. Now i was faced up with the two option:
1. Install GRUB
2. Not install GRUB

I choose no 1 because i want to try, how to modifying GRUB and that’s MEANS i make all linux distribution – Knoppix – and XP depend on dsl’s GRUB. Is it same or not?

As usual, i entered /boot/grub/menu.lst as root. I am pretty suprised because its GRUB configuraton have a “little” difference:

title DSL
kernel /boot/kernels/linux24 root=/dev/hda3 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 toram nomce noapic quiet

AS i can memorized, Knoppix boot configuration was like this:

title Knoppix
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 ro ramdisk_size=100000 lang=us apm=power_off nomce vga=791
initrd /boot/initrd.img
savedefault
boot

I tried to add Knoppix in dsl configuration like this:

title Knoppix
kernel /boot/kernels/linux24 root=/dev/hda4 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 toram nomce noapic quiet

Result: wrong!

The i tried like this:

title Knoppix
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4 ro ramdisk_size=100000 lang=us apm=power_off nomce vga=791
initrd /boot/initrd.img
savedefault
boot

Yes! It was succeed in the beginning, and then hang! My! What should i do? ( Note: The reason i change sda4 –> hda4 to make it suitable with dsl, because dsl use hda3 not sda3

I tried it once more. Now, i replace ALL Knoppix boot configuration without any change in DSL grub configuration. I did it ALL, similiarly and i try to boot it once more to see the result.

So the result will like this:

blablablabla

title DSL
kernel /boot/kernels/linux24 root=/dev/hda3 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 toram nomce noapic quiet

title Knoppix
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
boot

What i predict was true. It can load Knoppix as usual. And XP too! Oh yeah! i forget, that XP configuration had been automatically detected by dsl, i were only delete “#” to make Xp visible in GRUB.

So i want to make conclusion that although dsl as the distro which take a control in GRUB or Knoppix conquer GRUB, you should paste it like what its originally came. DO NOT CHANGE IT! and do not force that distro configuration must be like a distro who hold the Grub! Paste it like what it original forms.

Fiuhhhhh. At least i was glad my computer is alright…

NOte: Word that i bold is important to notice. And For the bold and strikethrough word, you must pay attetntion! That were based on my computer. So, please be careful, or it will harm your computer. Many thanks for reading my experiences. And also please fill up the comment! Arigatou gozaimasu!

 
 


Hiding Folder

blue blue folder

 

Linux also have a ability to hide a folder/file. Want to know? Simply, add the folder name by adding “dot” (.) in front of the folder/file name.

Example

mytext.txt — > .mytext.txt

 

 Simply isn’t it?

 

But….. How to restore or open it back?

to be continued….


Recognizing a new device (flash disk)

 

 

knoppix desktopflash disk

It was make me so frustate when i tried to connected flash disk of my friend to knoppix. I did it in normally ways

root@computername$ mount dev/sdb /mnt/usb

and the result was “Error”. So i figured that knoppix recognize flash disk in new name. I looked at /dev and my assumption was true. There were two name of sdb, there were sdb and sdb1.

So, i retyped in new format:

root@computername$ mount /dev/sdb1 /mnt/usb

That’s means knoppix will mount sdb1 in dev which contain flash disk of my friend to /mnt/usb so that we can access it. You don’t need to make a new directory “usb1″. Folder usb only a visualization where you can access your flaash disk. 

That’s all for now…. See you neat time!