Upgrading system disk

From: Christopher Pharo Glęserud (glaserud-debuser_at_orakel.ntnu.no)
Date: 01/21/05

  • Next message: Roberto Sanchez: "Re: Debian Newbie: Postfix & cyrus-imapd question HELP PLEASE"
    Date: Fri, 21 Jan 2005 23:46:04 +0100
    To: debian-user@lists.debian.org
    
    

    Hi.

    I'm trying to upgrade my system disk on Debian unstable. What I've done
    so far is to create partitions on the new disk and copy the old drive
    with cp -a to the new partitions, run mkswap on hdc2, then I've mounted
    the new partitions under /mnt/newdrive and changed my
    /mnt/newdrive/etc/lilo.conf as follows:

    lba32
    disk=/dev/hdc bios=0x80
    boot=/dev/hdc
    root=/dev/hda5 # hda here, as this is what the new drive will be
    install=/mnt/newdisk/boot/boot-menu.b
    map=/mnt/newdisk/boot/map
    default=Linux

    image=/mnt/newdisk/vmlinuz
            label=Linux
            read-only

    and run /sbin/lilo -C /mnt/newdrive/etc/lilo.conf

    What happens, is that I get the lilo prompt, and it displays the

    Loading Linux .............. -line (and the red menu goes away)

    but that's all. Any suggestions? (I don't have a CD-ROM in this machine
    for the time being, so it's preferrable if I don't need to boot a rescue
    disk.)

    Is my lilo.conf wrong, or am I being naive regarding the file copy?
    Partition table:

    hdc1 => boot
    hdc2 => swap
    hdc5 => /
    hdc6 => var
    hdc7 => tmp
    hdc8 => usr
    hdc9 => home

    -- 
    regards,
    Christopher Pharo Glęserud
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto Sanchez: "Re: Debian Newbie: Postfix & cyrus-imapd question HELP PLEASE"

    Relevant Pages

    • Re: How to shift Grub left from a prior Linux Install?
      ... The Master Boot Record is neither FAT nor NTFS - it's just the first 512 ... If your machine keeps on using the Grub boot loader then you've probably ... primary master disk that counts. ... Kubuntu was on separate partitions to Win 7. ...
      (microsoft.public.windows.file_system)
    • Re: [SLE] 9.0 Device checling on ext3 fs
      ... run the badbloc program on all partitions once. ... With something as critical as disk ... > filesystems, I need an app that has been tested and just works, preferably ... Usually they come as a file to create an MsDos boot ...
      (SuSE)
    • Re: Help Required: XP Installation and Partition
      ... > I removed my partitions originally with the XP Setup Disk when it gets to ... > Okay, to do the second option, all I do is download a Windows 98 boot ... >>> previously used partitions and created a new one to install XP Pro ...
      (microsoft.public.windowsxp.general)
    • Re: All JFS partitions unreadable
      ... partitions on 2 disks and 3 HPFS partitions to find that ... for all the JFS partitions and the FAT one. ... If I boot to the command line from the boot blob, ... I took the non-system disk out and put it into ...
      (comp.os.os2.bugs)
    • Re: Solved! (Re: Now wont boot (was: Re: Squeeze assembles one RAID array, at boot but not the other
      ... I could find the gpt partitions. ... so I ended up with an unusable boot floppy. ... re-frozen with the new kernel boot information every time the kernel ... connecting the disks to the disk controller cards. ...
      (Debian-User)