//honeypot demagogic

 Forum DhammaCitta. Forum Diskusi Buddhis Indonesia

Author Topic: [ASK] Dual Booting XP and Linux  (Read 11671 times)

0 Members and 1 Guest are viewing this topic.

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
[ASK] Dual Booting XP and Linux
« on: 20 November 2009, 09:51:15 AM »
Dear all,

mau tanya neh.. rencana mau install linux mint 64 bit (distro Gloria / derivat dari ubuntu 64) yang dikombinasikan dengan windows xp 32 bit pada 1 hdd
pertanyaannya, step by step nya untuk instalasi linux mint 64 bit pada komp yang udah ada windows xp 32 bit

Dulu pernah seh zaman doeloe install XP + Mandrake.. takutnya sekarang udah perubahan sistem bootloader

pertanyaan kedua : misal kalau salah satu OS nya terdelete, apakah akan menganggu bootloader ? dan bagaimana cara mengatasinya tanpa instalasi OS yang lainnya.


Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline johan3000

  • KalyanaMitta
  • *****
  • Posts: 11.552
  • Reputasi: 219
  • Gender: Male
  • Crispy Lotus Root
Re: [ASK] Dual Booting XP and Linux
« Reply #1 on: 20 November 2009, 09:59:00 AM »
Dual Booting window XP and Linux (Copas punya  :P)

Here’s how it’s done.

   1. First, start off with a machine with XP already installed on it.
   2. Next, download a Linux distro.  I’ll be using my personal favorite, Ubuntu 7.04 Feisty Fawn.
   3. Burn a CD of the ISO you downloaded and pop it into the drive and boot up off of it.
   4. Start the install process.  This will take you through the Welcome screen, the Where are you? screen and the Keyboard layout screen.
   5. Now you’ll come to the disk partitioner.  Choose the Resize [main partition] and use freed space option.  This is where you find out if you have enough free space to do the job.  The default recommendation for the new partition size will be ideal, but you can move the slider along to change the values to suit.  When you’re done, click Forward.
   6. Now you can go away and leave the install to churn away until it’s done.  It shouldn’t take all that long.
   7. When the install is complete the system will reboot.
   8. When the system boot up, now you’ll be greeted by the GRUB boot menu.  From here you can choose which OS to boot into.  In my case Ubuntu will be the default and will start automatically in 10 seconds.
   9. The first time that you reboot into Windows the OS will more than likely want to check the disk since the partition has changed size since Windows was last running.  XP will also likely want to re-detect hardware and such and probably reboot.
  10. That’s it!  Yes, it’s that simple.

In Ubuntu I can also tweak the GRUB bootloader settings.  To do this you need to fire up a Terminal window (Applications > Accessories > Terminal) and type the following into the window:
    sudo gedit /boot/grub/menu.lst

Hit ENTER and then type in your password hit ENTER again and you get access to the boot menu file in gedit.

The default boot entry is defined by the default value. Change this value to reflect which OS you want to boot up automatically.  The default value is 0, which means that the first entry in the list (in this case Ubuntu) will be loaded automatically.  If you want to change it so that Windows XP loads by default, change the value to 4 (because here XP is the fifth item in the list and the numbering system starts at 0).  You can also increase the boot menu timeout by changing the value of timeout from the default 10 to something else. Save the file to committ the changes.

Sweet.
Nagasena : salah satu dari delapan penyebab matangnya kebijaksanaan dgn seringnya bertanya

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
Re: [ASK] Dual Booting XP and Linux
« Reply #2 on: 20 November 2009, 10:11:33 AM »
thank you bro.. sayang gak bisa GRP :(
Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline wen78

  • Sebelumnya: osin
  • KalyanaMitta
  • *****
  • Posts: 1.014
  • Reputasi: 57
  • Gender: Male
Re: [ASK] Dual Booting XP and Linux
« Reply #3 on: 20 November 2009, 10:19:31 AM »
ada 1 cara lagi pake system boot HDD. jadi kl mo install 2 OS, maka perlu 2 HDD. kl mo 3 OS, perlu 3 HDD.
waktu boot, pilih HDD di quick boot menu(rata2 MB dah ada).
keuntunganya gampang dan gak pusing. jeleknya pake banyak HDD.
segala post saya yg tidak berdasarkan sumber yg otentik yaitu Tripitaka, adalah post yg tidak sah yg dapat mengakibatkan kesalahanpahaman dalam memahami Buddhism. dengan demikian, mohon abaikan semua statement saya di forum ini, karena saya tidak menyertakan sumber yg otentik yaitu Tripitaka.

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
Re: [ASK] Dual Booting XP and Linux
« Reply #4 on: 20 November 2009, 10:35:25 AM »
ya seh.. sebenarnya kalau mau simple ya pake banyak hdd, cuma masalahnya kalau di laptop ya gak memungkinkan seh..
Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline johan3000

  • KalyanaMitta
  • *****
  • Posts: 11.552
  • Reputasi: 219
  • Gender: Male
  • Crispy Lotus Root
Re: [ASK] Dual Booting XP and Linux
« Reply #5 on: 20 November 2009, 11:52:26 AM »
ada 1 cara lagi pake system boot HDD. jadi kl mo install 2 OS, maka perlu 2 HDD. kl mo 3 OS, perlu 3 HDD.
waktu boot, pilih HDD di quick boot menu(rata2 MB dah ada).
keuntunganya gampang dan gak pusing. jeleknya pake banyak HDD.


bro wen78,

trus pilih harddisk nya dgn cara apa ? kalau harus ke BIOS dulu kan gak praktis...

Kalau gak salah dulu pernah nyoba pakai Magic Partition 8,
caranya lumayan enak... jadi ada boot screen utk milih mau jalankan OS yg mana...
sekalian memiliki fasilitas utk mengatur partition, resize, move, delete, etc...

(cukup terpuaskan deh...)
Nagasena : salah satu dari delapan penyebab matangnya kebijaksanaan dgn seringnya bertanya

Offline char101

  • Sahabat
  • ***
  • Posts: 237
  • Reputasi: 13
Re: [ASK] Dual Booting XP and Linux
« Reply #6 on: 20 November 2009, 12:45:54 PM »
mau tanya neh.. rencana mau install linux mint 64 bit (distro Gloria / derivat dari ubuntu 64) yang dikombinasikan dengan windows xp 32 bit pada 1 hdd
pertanyaannya, step by step nya untuk instalasi linux mint 64 bit pada komp yang udah ada windows xp 32 bit

Biasanya sih si linuxnya bakal install grub, terus grubnya itu bakal detect otomatis kalau ada instalasi windows yang udah ada di harddisk, terus dia bakal menambahkan otomatis di boot menunya. Tentunya di harddisknya harus ada partisi kosong dulu buat install linuxnya.

Quote
pertanyaan kedua : misal kalau salah satu OS nya terdelete, apakah akan menganggu bootloader ? dan bagaimana cara mengatasinya tanpa instalasi OS yang lainnya.

Tidak menggangu, paling ketika dipilih OS yang didelete itu, ya boot processnya berhenti. Kalau mau update menu tinggal edit aja /boot/grub/menu.lst, lalu hapus yang sudah tidak ada

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
Re: [ASK] Dual Booting XP and Linux
« Reply #7 on: 20 November 2009, 12:54:27 PM »
thanks atas tanggapannya..

btw kalau misal kita delete partisi linux, gimana cara restore bootnya agar bisa manggil xp seperti semula ?
Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline Sukma Kemenyan

  • Global Moderator
  • KalyanaMitta
  • *****
  • Posts: 1.840
  • Reputasi: 109
Re: [ASK] Dual Booting XP and Linux
« Reply #8 on: 20 November 2009, 01:25:40 PM »
karena main os gw windoze,
gw lebih prefer bootloader di handle ama windoze dari pada grub

Offline Sumedho

  • Kebetulan
  • Administrator
  • KalyanaMitta
  • *****
  • Posts: 12.406
  • Reputasi: 423
  • Gender: Male
  • not self
Re: [ASK] Dual Booting XP and Linux
« Reply #9 on: 20 November 2009, 01:30:19 PM »
fdisk /mbr lalu di sys ?
There is no place like 127.0.0.1

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
Re: [ASK] Dual Booting XP and Linux
« Reply #10 on: 20 November 2009, 01:37:06 PM »
gimane caranye biar bootloader dihandle ama windows ?
Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline johan3000

  • KalyanaMitta
  • *****
  • Posts: 11.552
  • Reputasi: 219
  • Gender: Male
  • Crispy Lotus Root
Re: [ASK] Dual Booting XP and Linux
« Reply #11 on: 20 November 2009, 02:04:49 PM »
gimane caranye biar bootloader dihandle ama windows ?


Sample Boot.ini File
This is a sample of a default Boot.ini file from a Windows XP Professional computer.

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" /fastdetect
Nagasena : salah satu dari delapan penyebab matangnya kebijaksanaan dgn seringnya bertanya

Offline Forte

  • Sebelumnya FoxRockman
  • KalyanaMitta
  • *****
  • Posts: 16.577
  • Reputasi: 458
  • Gender: Male
  • not mine - not me - not myself
Re: [ASK] Dual Booting XP and Linux
« Reply #12 on: 20 November 2009, 02:11:04 PM »
yeah.. itu kalau sesama windows..
tapi kalau bukan sesama windows, kayaknya memiliki teknik yang berbeda..
karena setahu gw.. windows NTFS, sedangkan linux ext4 ya sekarang :P
Ini bukan milikku, ini bukan aku, ini bukan diriku
6 kelompok 6 - Chachakka Sutta MN 148

Offline Sukma Kemenyan

  • Global Moderator
  • KalyanaMitta
  • *****
  • Posts: 1.840
  • Reputasi: 109
Re: [ASK] Dual Booting XP and Linux
« Reply #13 on: 20 November 2009, 02:15:50 PM »
kalau instalasi'nya Linux, lalu windoze,
otomatis boot partition isi'nya windoze...

setelah boot partition (loader) isinya windoze...
garap aja kek di sini ataupun disini

tapi kalo ternyata windoze emang udah terinstall,
en linux yg kedua (which mean linux jadi boot-loader)...
rasa'nya cara medok tuk take-over boot-partition dari linux ke windoze lage
coba digoogling aja mengenai "fixmbr" ataupun "fdisk /mbr" tuk pasti'nya

Offline johan3000

  • KalyanaMitta
  • *****
  • Posts: 11.552
  • Reputasi: 219
  • Gender: Male
  • Crispy Lotus Root
Re: [ASK] Dual Booting XP and Linux
« Reply #14 on: 20 November 2009, 02:19:13 PM »
Booting Linux in Window XP


You can boot Linux from BOOT.INI with a little trickery.
The first step is to install a Linux bootloader, such as GRUB or LILO, onto your Linux partition. So, supposing your Linux root partition is /dev/hda6, you'd set up the GRUB bootloader with these commands:

    # grub
      
    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)
      
     [ Minimal BASH-like line editing is supported.  For the first word, TAB
       lists possible command completions.  Anywhere else TAB lists the possible
       completions of a device/filename. ]
      
    grub> root (hd0,  <TAB>
     Possible partitions are:
       Partition num: 0,  Filesystem type unknown, partition type 0x7
       Partition num: 2,  Filesystem type is fat, partition type 0xc
       Partition num: 4,  Filesystem type unknown, partition type 0x82
       Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
      
    grub> root (hd0,5)
     Filesystem type is ext2fs, partition type 0x83
      
    grub> setup (hd0,5)
     Checking if "/boot/grub/stage1" exists... yes
     Checking if "/boot/grub/stage2" exists... yes
     Checking if "/boot/grub/e2fs_stage1_5" exists... yes
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
     Running "embed /boot/grub/e2fs_stage1_5 (hd0,5)"... failed (this is not fatal)
     Running "install /boot/grub/stage1 (hd0,5) /boot/grub/stage2 p /boot/grub/menu
    .lst "... succeeded
    Done.
      
    grub> quit

    TIP

    Note that GRUB uses a different numbering scheme than the rest of Linux. Linux numbers partitions starting at 1, but GRUB starts at 0. So /dev/hda6 is (hd0,5) in GRUB.

After you set up the bootloader, you need to grab it and save it into a file with the dd command:

    # dd if=/dev/hda6 of=grub.bin bs=512 count=1

Now you need to copy grub.bin over to the root of your boot partition, typically the Windows C: drive. If your Windows C: drive is formatted as NTFS, you probably won't be able to write grub.bin to it from Linux, so you'll need to use a FAT-32 partition, a floppy disk, a directory on another computer, or some other means to transfer it over.

Boot back into Windows, edit your BOOT.INI as directed earlier in this hack, and add the following line to the [operating systems] section:

    c:\grub.bin="Linux"

If you reinstall your Linux boot loader, you'll need to use dd to extract the boot loader and copy it to your C: drive again. The advantage of using GRUB instead of LILO is that GRUB does not need to be reinstalled each time you install a new kernel (simply edit the GRUB configuration file, usually /boot/grub/menu.lst).



hahahaha.... cuma copas lho.... yg lebih senior mohon petunjuk!
« Last Edit: 20 November 2009, 02:21:16 PM by johan3000 »
Nagasena : salah satu dari delapan penyebab matangnya kebijaksanaan dgn seringnya bertanya