Re: [ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
Hi Onkar, Thanks will try your suggestions. ram On Fri, May 23, 2008 at 1:49 PM, Onkar Shinde <[EMAIL PROTECTED]> wrote: > You can see which partition on each disk is marked as bootable from > the fdisk outout i.e. the one with '*'. > > 1. When you say (hd0,1) it means 1st partition on 0th hard disk. So in > your case you will have to specify (hd1,1). > 2. You can see that root partition of your installation is specified > with UUID. UUID is a unique identifier for every hard disk partition > in your system. I am not sure if partitions on a USB disk will have > same UUID everytime you boot. But if it is the case then you can boot > into Ubuntu and find UUID for all partitions with command 'ls -l > /dev/disk/by-uuid/'. > 3. It is possible to dynamically specify kernel, initrd, and root in > grub instead of trial and error on menu.lst. When you see grub menu of > Ubuntu, press 'c' key. It will give you a command prompt. You can then > give commands root, kernel and initrd. After that give command 'boot'. > Ifthe parameter you have provided are correct it will boot in > Mandriva. If now you can reboot machine by Ctrl + Alt + Del and try > again. This way you won't have to boot in Ubuntu everytime. Once you > have found correct values add those to your menu.lst > > Hope this helps. > > > Onkar > > -- > ubuntu-in mailing list > ubuntu-in@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-in > -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
On Fri, May 23, 2008 at 11:20 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > For the past few days have been wanting to try other distros's along > with my existing Ubuntu 7.04. So i installed Mandriva 2008 spring on an > external USB HD (my laptop supports booting of USB). change your bios setting to boot from external usb harddisk ,(i.e select USB as your first boot device) . -- Thanks a lot - http://ubuntuslave.blogspot.com/ -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
You can see which partition on each disk is marked as bootable from the fdisk outout i.e. the one with '*'. 1. When you say (hd0,1) it means 1st partition on 0th hard disk. So in your case you will have to specify (hd1,1). 2. You can see that root partition of your installation is specified with UUID. UUID is a unique identifier for every hard disk partition in your system. I am not sure if partitions on a USB disk will have same UUID everytime you boot. But if it is the case then you can boot into Ubuntu and find UUID for all partitions with command 'ls -l /dev/disk/by-uuid/'. 3. It is possible to dynamically specify kernel, initrd, and root in grub instead of trial and error on menu.lst. When you see grub menu of Ubuntu, press 'c' key. It will give you a command prompt. You can then give commands root, kernel and initrd. After that give command 'boot'. Ifthe parameter you have provided are correct it will boot in Mandriva. If now you can reboot machine by Ctrl + Alt + Del and try again. This way you won't have to boot in Ubuntu everytime. Once you have found correct values add those to your menu.lst Hope this helps. Onkar -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] OT - Multiple Booting of GNU/LInux OS's]
Ok i tried the following edited my /boot/grub/device.map to show the following (hd0) /dev/sda (hd1) /dev/sdb edited the /boot/grub/menu.lst as follows title MANDRIVA linux kernel (hd1,4)/vmlinuz BOOT_IMAGE=linux root=UUID=9be80552-9983-4062-b4da-1247596cbbae resume=/dev/sdb1 splash=silent vga=788 initrd (hd1,4)/initrd.img ** am not sure how the the hd1,4 should be should it be hd1, 1 or some other number. But this *does not work* i get the error 21 - device not found any tips ram -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
Hi i tried to use fdisk -l to see if any thing makes sense here it is [EMAIL PROTECTED]:~$ sudo fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xcccdcccd Device Boot Start End Blocks Id System /dev/sda1 * 11305104823817 HPFS/NTFS /dev/sda290919729 5125680c W95 FAT32 (LBA) Partition 2 does not end on cylinder boundary. /dev/sda313062034 5855692+ b W95 FAT32 /dev/sda420359090566773205 Extended /dev/sda520352496 3710983+ 82 Linux swap / Solaris /dev/sda63761909042813193+ 83 Linux /dev/sda724972520 192748+ 83 Linux /dev/sda825213760 9960268+ 83 Linux Partition table entries are not in disk order Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00073659 Device Boot Start End Blocks Id System /dev/sdb1 * 1 1215997667136 83 Linux /dev/sdb2 12160 1716540210695b W95 FAT32 /dev/sdb3 17166 19457184104905 Extended /dev/sdb5 17166 17178 104391 83 Linux /dev/sdb6 17179 17481 2433816 82 Linux swap / Solaris /dev/sdb7 17482 1945715872188+ 83 Linux [EMAIL PROTECTED]:~$ *** the ubuntu device.map # gedit /boot/grub/device.map is (hd0)/dev/sda so maybe i should just add the external hard disk as hd1 wonder if this will work ?? any tips ram -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
[ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
Hi For the past few days have been wanting to try other distros's along with my existing Ubuntu 7.04. So i installed Mandriva 2008 spring on an external USB HD (my laptop supports booting of USB). For the second OS (being installed on the external usb HD) i made an additional /boot and pointed the grub loader to be installed on this section. However when i try and boot of the USB HD the boot loader does not appear. So a few questions : 1. Why does not the second OS work 2. Is there a way i can add the boot loader for the Second OS (Mandriva 2008) to my existing Ubuntu OS menu.lst. There was a possibility to ask the Mandriva to install the boot loader to the onboard HD section but it seems that Mandriva cannot / does not see all the existing OS's that are there. Currently my main Ubuntu 7.04 boot options are Ubuntu MS windows MS Windows (recovery) Mandriva sees only Ubuntu 7.04 and MS Windows The windows recovery partition does not appear. I tried copying a section of the USB HD's mandriva menu.lst to the ubuntu menu.lst, specifically the following lines title linux *(Mandriva)* kernel (hd0,4)/vmlinuz BOOT_IMAGE=linux root=UUID=9be80552-9983-4062-b4da-1247596cbbae resume=/dev/sda5 splash=silent vga=788 initrd (hd0,4)/initrd.img i could not figure out the hd* section so randomly changed it to hd1 and the device /dev/sda5 to /dev/sdb5. But while it showed up on the Ubuntu boot loader it just said that target device could not be found, when i tried booting to Mandriva. So will it work if the correct hd device is pointed to ?? and any idea how i find the correct hd device since both Ubuntu and Mandriva identify them separately. thanks ram PS I could post the menu.lst in case its required. -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
[ubuntu-in] OT - Multiple Booting of GNU/LInux OS's
Hi For the past few days have been wanting to try other distros's along with my existing Ubuntu 7.04. So i installed Mandriva 2008 spring on an external USB HD (my laptop supports booting of USB). For the second OS (being installed on the external usb HD) i made an additional /boot and pointed the grub loader to be installed on this section. However when i try and boot of the USB HD the boot loader does not appear. So a few questions : 1. Why does not the second OS work 2. Is there a way i can add the boot loader for the Second OS (Mandriva 2008) to my existing Ubuntu OS menu.lst. There was a possibility to ask the Mandriva to install the boot loader to the onboard HD section but it seems that Mandriva cannot / does not see all the existing OS's that are there. Currently my main Ubuntu 7.04 boot options are Ubuntu MS windows MS Windows (recovery) Mandriva sees only Ubuntu 7.04 and MS Windows The windows recovery partition does not appear. I tried copying a section of the USB HD's mandriva menu.lst to the ubuntu menu.lst, specifically the following lines title linux *(Mandriva)* kernel (hd0,4)/vmlinuz BOOT_IMAGE=linux root=UUID=9be80552-9983-4062-b4da-1247596cbbae resume=/dev/sda5 splash=silent vga=788 initrd (hd0,4)/initrd.img i could not figure out the hd* section so randomly changed it to hd1 and the device /dev/sda5 to /dev/sdb5. But while it showed up on the Ubuntu boot loader it just said that target device could not be found, when i tried booting to Mandriva. So will it work if the correct hd device is pointed to ?? and any idea how i find the correct hd device since both Ubuntu and Mandriva identify them separately. thanks ram PS I could post the menu.lst in case its required. -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in