I have a laptop with no floppy and no CD drive. How to install Mandriva from the hard disk?
Tough one actually! All the documentation I could find on linux installation assumes that you either have a floppy or a CD drive to boot from. Now how do you get this done if you have none of them! Well, I have a solution but you need to have some form of a Linux version already installed...
By the way, it's a bit tricky. Linux newbies might prefer to borrow some for of a USB DVD or floppy drive!
First, you need to get an image on the Mandriva installation DVD. If you are a member of the Mandriva club, you can simply download it. If you have the actual DVD, you will need to extract it using another computer, it can be done as follow
- Start k3b,
- Select
Tools > DVD > Copy DVD - In the copy window, select the option
only create imageand choose a filename
Now, you need to put your image in a partition other than /. You can see the space available on all partitions with the command df:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 8140744 3391384 4335832 44% /
/dev/hda7 9093092 4104756 4988336 46% /home
/dev/hda1 10251324 10051036 200288 99% /mnt/windows
/dev/hda8 5930648 1921476 3707908 35% /usr/local
In this case /home (/dev/hda7) is large enough, so I'll use this one. Move the image to this partition
mv Mandrakelinux-10.1-Official-DVD.iso /home/dvd.iso
You want this image to be mounted, just like another partition... Create a directory to mount the image
mkdir /mnt/iso
and add the following line to your file /etc/fstab
/home/dvd.iso /mnt/iso iso9660 ro,loop,auto 0 0
Test it, it should work:
mount /mnt/iso
ls -l /mnt/iso
The next step is to copy the startup files to the main partition
cd /mnt/iso/isolinux/alt0
cp vmlinuz /boot/vmlinuz-all
cp all.rz /boot/
and edit your lilo configuration (/etc/lilo.conf) file to allow booting from this new kernel
image=/boot/vmlinuz-all
label=all-install
root=/dev/ram3
initrd=/boot/all.rdz
append="ramdisk_size=70000"
vga=791
read-only
and restart lilo
/sbin/lilo
You are all set actually! Here is the rest of the procedure:
- restart the computer,
- choose to boot from
all-install, - it might take some time, but you should end up with the Mandriva installation program,
- choose
install from hard disk, with/dev/hda7partition (whereever your dvd image is) anddvd.isoas image name.
Links
- This article on the Mandriva club
- k3b
- Mandriva club
05/2006 |
anonym helper, 03 June 2007
You must change the BIOS configuration on your pc to boot first from cd, and second from hard disk. If you have set it to boot first from hard disk, it will never read the cd to boot from it until you have corrupted your hard disk boot partition.
Suvankar ghosh, 29 May 2008
All,
I have the iso image of Mandriva One 2008 in my hard drive. I have both Windows XP and Opensuse 10.3 installed for dual booting using Grub. Is there any way of installing Mandriva One 2008 from the iso image without burning a CD? Please don't suggest me to download any other iso. I need to install from the above mentioned iso only.
Best regards,
Suvankar
mounir, 18 September 2008
i already downloaded the mandriva 2008 from the official website he "iso file"
for now i have xp service pack 3 installed that i use it
i want to install the new mandriva os on other partition that is available and ready for now (15 gb)
i need help to install the system and a best sotultion to boot from the hard disk or usb because i don't have cd drive or dvd...
this is my first time to use a version refer to linux
i hope that i can get help
mounir, 18 September 2008
i already downloaded the mandriva 2008 from the official website he "iso file"
for now i have xp service pack 3 installed that i use it
i want to install the new mandriva os on other partition that is available and ready for now (15 gb)
i need help to install the system and a best sotultion to boot from the hard disk or usb because i don't have cd drive or dvd...
this is my first time to use a version refer to linux
i hope that i can get help
theawesomewizard, 26 October 2008
YOU GUYS ALL SUCK MONKEYS BALLS OMGLMAO.
1234, 06 January 2009
ueyctryvyubturr76r76ut68oni3wc47474747474747x2n785n577v5 45c65ctn734ot3eb3333333we4nw7et4ovmQVE5N QYOWLVBlpqntlwypulTvioerk7o;'po'p'[bvocv'[ic'p "PCVIPCV:OU?V CUTTykgoyl;op;u;pyiutlooitiugtuytgiutyufiyuitRIYGRYUFTYRGFYTY6784897ersylger
serkgyvtruvgirny 1+1=3
+
gmgdnj, 09 February 2009
When I try to do the fstab change, my system wont allow me to save the file. It tells me 'cannot open file to write', but file is already open.
What am I doing wrong???
sanjith, 22 April 2009
i have made bootable disk of 2009 one version and after setting the bios to cd boot, booying started with DR-DOS A:> and it is struck there what should i do
Ramudu Bathineni, 24 April 2007
All,
i downloaded Mandriva linux and burnt 4 cds. In my pc i have windows xp. Before restarting inserted the cd1/4. my system is not asking for installing the linux and it is botting in windows xp. when i dow loaded i got iso images. i burned these iso files on blank cds.copied the iso files and pasted in nero to burn the cd.so can somebody help me in installing the mandrive linux from iso cds.
Thanks,
Ramudu B.